283 points · by udbhavs · 4y ago · 111 comments
[1] https://www.npmjs.com/package/bodymovin-to-smil [2] https://bundlephobia.com/package/lottie-web@5.8.1 [3] https://bugs.chromium.org/p/chromium/issues/detail?id=482689 [4] https://caniuse.com/svg-smil [5] https://bookem.com
https://lottiefiles.com/plugins/animate
PS: I work for LottieFiles and built the plugin.
Skia powers Google Chrome[2], Flutter, & Fuchia[3].
[0]: https://skia.org/docs/user/modules/skottie/ [1]: https://skottie.skia.org/ [2]: https://skia.org/ [3]: https://skia.org/docs/dev/flutter/
By avant-garde stuff I mean for example this guy’s work, he’s a killer: https://dribbble.com/glebich
How's the non AE ecosystem for Lottie?
https://docs.microsoft.com/en-us/windows/apps/design/control...
Disclosure: I work at Microsoft.
"Solve" is weird in this context, but Adobe did make good progress in each of these areas, first by supporting some of them in Flash Player, and ultimately by abandoning the proprietary runtime.
> Building a website with the level of interactivity, micro interactions and animations using today’s technology is super complicated and almost impossible for a single person.
Flash was never for this (other than in a "if all you've got is a hammer, everything looks like a nail" sense), but if that's your benchmark then you can still do that with Adobe Animate.
You'll be happy to learn that Adobe Animate is the Flash Professional (née Macromedia Flash, née FutureSplash Animator) development tool/experience: https://www.adobe.com/products/animate.html
ActionScript and Flex were more powerful than JavaScript and HTML, still the latter won because it was open.
I did Adobe Air desktop applications and there was no issue with scaling the application to different sizes, the Flex4 framework is still one of my favorites for layouting Applications GUIs for sure 10x better then web GUI frameworks, sometimes I wonder if the creators of angular ever in their life created a desktop or mobile application because for me the architecture seems stupid or created for a weird target audience.
And of course, if you're an engineer and this appeals to you, get in touch! Email in my profile. I love working on software that facilitates creativity.
Now you kind of have to think in code, and architect the site as a whole, there's less creative impulse, or simply messing around to find something cool. This interactive messing around has to be visual, ideas should be easily copy-pastable, etc.
Because it was easy to experiment with the whole interactive media, and you didn't really have to worry about differences in player (no touch, no mobile, player was independent of browser), you could create wild stuff in very short amount of time, and everyone could play with it in the same way.
I loved Flash. Sure, it wasn't accessible, wasn't SEO-friendly or searchable or linkable, and had no future in mobile, but it was a magical creative canvas quite unlike anything available now.
But on the other hand a 12 year old can’t figure it out in a week and ship an animation they made from scratch to the web.
For me the canvas was powerful, I could use a wacom to draw, tween motion between frames and visualize the whole thing quickly with playhead scrubbing, and keyframe tweaking etc.
I don't miss Flash but it would be really interesting to see how it would be used in today's mature webscape.
- Click button X, run Timeline 1. - Click Button Y, run Timeline 2. - Click X again, run Timeline 1 in reverse.
That made it far more intuitive for designers, who can prototype interaction design ideas themselves, instead of leaving it entirely to developers to implement.
The death of Flash led to the death of the creative web, because anything outside of the bounds of CMS templated content required developers to do everything from CSS, JS triggers and deployment. Even today, that workflow persists, but is worse, because creative works can't be bundled into a single executable file like what was possible w/ Flash . Designers now create something in After Effects, which then has to be compiled into code via Lottie, and implemented by a developer.
Now imagine what it means today to create a simple animation, export it to Lottie, incorporate that into a website and publish that. It’s a nightmare. And it’s nowhere near to what was possible with Flash.
Today it could be a paradox of choice situation, for an aspiring creator to produce anything today would require them to pick up a bundle of technologies.
Might partly have to do with the addiction of JS folks to bundle everything into one file, but it might be a good idea to `fetch()` your lottie animations lazily when you actually need to display them.
We built dotLottie[1], a little superset encapsulation layer ontop of Lottie as an experiment/solution to make it easer to bundle multiple Lotties and any associated assets AND make distribution/CDN use simpler. There are several sites that are using it now with good success.
Not sure that all, most, or even many JS folks are addicted to bundling everything into one file.
I wrote up a starter blog on using Lottie for UI in React here: https://labs.thisdot.co/blog/using-lottie-animations-for-ui-...
If you don't want to make your own animations, you can download a ton of free ones to use here: https://lottiefiles.com/
But trying to go "all in", animating every little aspect of intersection as some of the showcases do, isn't worth it. Hard to maintain, since you need someone good at after effects to make an effect every time something on the frontend changes. And few designers know AE. So quickly end up with some parts being fancily animated, and the rest dull, making the contrast jarring. And while the animations when clicking 5-stars or whatever look cool in a video, they are mostly artificial delays for the user getting on with their tasks.
However I prefer Hype (from Tumult) because it’s found that middle ground in simplicity while still being able to integrate real-world web. For that reason a designer(or coder really) can pick up Hype and not need anyone else. It reminds me a little of Flash, but the underpinning technology is javascript.
For example in Hype it’s straight forward to build animated and compliant html5 google ads. That’s something a designer can do all on their own without any coding, the entire process is contained to that one app. Similarly a designer can make a fully animated reactive website and not need to touch code at all.
Also Hype is $50 once. AE is either $240 per year or part of the Adobe creative cloud subscription which is around $600 per year.
But modern browsers do movies (like, mp4 and ogg) really well, with no required chrome, a rendering engine that is very good and easily controlled by js.
I wonder how a animation in Lottie compares to a embedded video tag of the same animation.
Isn't js JIT (slower), and evaluated higher in the stack (slower) than the video renderer?
Little uses a vector format, so the results are sharp whatever the scale, with the same file size. However, each additional picture element may cost more in comparison.
Some animations will be best in one, some in the other.
I realise now you can bake in an alpha channel to some video formats, but both support and production of these files is cumbersome and Lotte is great from a workflow perspective -- particularly if you have dedicated 'motion designers' on your design team who are accustomed to After Effects already.
Here is how to export to Lottie https://synfig.readthedocs.io/en/latest/export/export_for_we...
To fill that need I've been using svgator (https://www.svgator.com/) to create some simple animations. It can SVG files with embedded animations and no JavaScript.
I have haven't gotten too deep into it, but as someone who has done quite a bit of work in Flash, Adobe Premiere, and Final Cut Pro; it seems to be a pretty full-featured animation software. I didn't have to read any documentation and got my animations finished quickly.
There is an amazing collection of animations to choose from here: https://lottiefiles.com/.
You can also buy after effects templates on many websites and use them for motion graphics.
Edit: seems svg-like particle effects only, so no