|
|
|
|
|
by kosolam
813 days ago
|
|
Hey team! Looks great, I checked some of the examples on github. A few questions regarding the web version 1. What is the total weight of loaded resources? 2. If I would like to add some animations to my website. Maybe even just a few simple animated icons. Is dotlottie and in general lottie files a good fit for such use case? 3. How good is the support among the different browsers on the desktop and mobiles? |
|
Current release clocks in at 326 Kb over the network, with brotli. We have been focussed on getting the functionality and have yet to start working on reducing the total size. There are optimizations we can do with ThorVG and emscripten and eliminating some of the dependencies we currently use. Aiming for < 200 Kb.
> 2. If I would like to add some animations to my website.
We believe so! With the Lottie animations converted to dotlottie (using our website or the opensource tooling), there is significant further file reduction to Lottie animations, especially if you choose to bundle multiple animations into a single dotlottie distribution. Depending on the number of animations you have, the currently somewhat large player size is offset by the further reduction and bundling. It becomes an even better proposition if you are using theming to change colors or values in the animation for different themes the website may have. The vector nature of the format also makes it ideal if dynamic resizing for media size adjustments are a requirement!
> 3. How good is the support among the different browsers on the desktop and mobiles?
With the current release, we are targetting for full compatibility and consistency in the modern evergreen browsers. We haven't yet tested the compatibilty with older browsers though. The support on mobile is great on both Android and iOS, as well as for desktop apps.