For years I've been taking selfies of my outfits just to remember what I wore or share with friends. Camera roll: thousands of pictures, zero of them findable. So i built the thing i wanted. Meet Yafa ๐งต
When we animate icons, we pick the tool based on what the icon actually needs:
- Simple SVG line icons โ GSAP or Motion dev, animate inside the SVG.
- Interactive, mix of vector and raster, visual effects โ Rive.
- 3D โ Blender (or Spline).
- Not 3D but visually complex โ After Effects.
- ASCII / pixel look โ WebGL shader.
For SVG animations or WebGL work, you can already successfully use AI. Gemini 3.1 Pro and Opus 4.6 are the best for these tasks.
For Blender or After Effects, make a loop or a one-time animation and embed it as a video. Use ffmpeg to prepare assets in H.265, VP9, and AV1 codecs. Just Google my article and follow the steps - nothing complicated, but the output will be lightweight. Don't be afraid to use videos. They don't affect the performance of the site and will look super crisp at the size of the icons.
If you choose Rive, try to use it for more animations on the site - otherwise, loading a runtime might feel heavy for "just a few icons."
If you do animation with WebGL shaders, just pay attention to performance and turn it on or off when the animation is out of the viewport.
can someone explain to me in simple words why the CEO of the highest valued company in the world is having a conference in the middle of a one way street during rush hour