Home

Awesome

Learning Lottie

Just one of the things I'm learning. https://github.com/hchiam/learning

Lottie files are a JSON-based image/animation format that uses runtimes to actually run them.

Quickly create animations

or based on this Lottie Figma plugin tutorial:

You might want to consider Lottielab with/without Figma to generate animations with curved paths

Demo

Run

vite

to run index.html on http://localhost:5173/

<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<lottie-player
    src="./example.json"
    background="transparent"
    speed="1"
    style="width: 300px; height: 300px"
    loop
    controls
    autoplay
></lottie-player>

example screenshot

<img alt="example animation" src="browser-explosion.gif" height="200">