ホーム 暮らし [AfterEffects] How to create SVG animations

[AfterEffects] How to create SVG animations

雨宮 千夏 雨宮 千夏 • 更新: • 公開: • 読了約 7 分
目次


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

n61e7afe29d5a
1. Let's do the preparation!

(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 animation

I 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.


Finished product

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 School

An 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!

▼ "Video Creator Roadmap" is now being distributed for free on LINE!

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

同じカテゴリの記事

雨宮 千夏
デジタルマーケター 雨宮 千夏
プロフィールを見る →

アイドルと音楽シーンの取材を担当。公式サイトの公演情報、リリース告知、公開チャートを照合してから構成しています。

おすすめの関連記事