by pier25 · 6y ago · 0 comments
The other day I was researching how to add simple procedural animations to some web-based interactive content for a museum.
This would have been a breeze with Flash. You just passed the .fla to the animator/illustrator and they would create the item in the library for you. Then you could simply animate that display object in your code and the artist would be able to modify it without breaking anything.
I came up with this solution using DragonBones[1] so that the artists could work on their own. And then I could render those animations with Pixi[3].
I agree an all-in-one solution would be much nicer but not sure there is a market for it.
[1] http://dragonbones.com/en/index.html
[2] https://pixijs.io/examples/#/plugin-dragonbones/eyetracking....
Though in either case, you lose the web platform, with its accessibility (aria, screen readers) and forward compatibility (like the one we had with the move to smartphones, etc).
I haven't really benchmarked the size, but there are a few demos floating around. Not entirely sure how to measure it, but that one seems to come down to less than 10kB? https://obersprengmeister.frozenfractal.com/