SVG animations are often used when you want to add animation to icons on a website.
Since SVG is displayed as vector data, it does not lose quality even when pasted onto a website, and it is a format that can be displayed at the highest quality even on high-resolution displays.
For example, when you are commissioned by a company to create logo or icon animations, they will be very pleased if you deliver the code as an SVG animation as well. Delivering only a GIF is not recommended because the image quality will be poor, even if the animation itself is good.
Since such cases exist, I will describe the export method here.
SVG Export Procedure
(1)Bodymovin installation
(2) In After Effects
・"Preferences"→"Scripting & Expressions" check
・Check "Allow Scripts to Write Files and Access Network"
(3)Lottie Files Get an account for
This completes the preparation.
2. Create the animationI will omit the production method, but here are the points to note during production.
This time, I want to turn this kind of icon animation into an SVG animation.
3. Export with Bodymovin(1) AE's [Window]→[Extensions]→Bodymovin Select.
(2) Specify the composition to export and the save destination, and click "RENDER" → "DONE".
With this, "data.json" will be exported to the save destination.
4. Implementation procedure for WEB pages(1)Lottie Filess and drag and drop your json file
If it works without any issues, you're good to go!
(5) When exporting as HTML(1) On this screen, click the "</>" mark
(2) Copy the "Embed" web code on the right and paste it into your HTML to finish.
This is what I created this time.
Since it is vector data, the resolution does not drop, and it can be displayed clearly.
It really is a huge difference from the GIF format...!
Logo animations in particular are important symbols for a company, so if you have a client who wants to use them on their website, I think it is kind to export them as SVG.
I hope you find this helpful!
▼ About FLAMo SchoolAn online school where you can learn the mindset of video production.
With the motto "Become a video creator who continues to be chosen by companies," we sell content on storyboarding, design, and animation!
We are distributing the "Roadmap to Overcoming 3 Walls" to become a "video creator who continues to be chosen by companies" for free on LINE!
We are also distributing special coupons exclusively for registered users!
https://lin.ee/ZaLBDSa