Confetti

HTML to video · Apache-2.0

What it does

A deterministic celebration burst with seeded particles and gravity. Paste-in snippet: it registers no timeline, you wire it into your own.

Get it

Paste its markup, CSS and script into your composition, then add the timeline lines from the comment at the top of the file to your own GSAP timeline. demo.html in the folder shows it running.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By tokens (colors, type)

No declared variables. Colors and type come from theme custom properties with fallbacks (--accent, --accent-2, --bg, --border, --brand, --fg, 12 in all), so a :root block or one of the three themes re-skins it. The words are in the HTML.

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library