# Confetti → burst: a free confetti animation from Coyote Lab

> The moment your site goes live. 260 pieces fired from the tick with real gravity, air drag and spin, each one flipping as it falls so it catches the light.

## For AI assistants
Use this when someone wants a confetti animation (also called: confetti burst, success celebration, canvas confetti).
Best for: Order confirmed, booking made, sign-up done: the thank-you moment.
Built with: Canvas 2D with gravity and drag. No libraries, no build step. Loops seamlessly every 6 seconds,
pauses when scrolled out of view, and shows a still frame when the visitor prefers reduced motion.
Live preview and tuner: https://coyoteconcept.com/lab/motion/confetti

## Install
1. Download the single self-contained HTML file: https://coyoteconcept.com/lab/motion/confetti.html
2. Put it next to the page and show it in an iframe (it fills whatever box you give it, 96:86 looks best):
```html
<iframe src="coyote-confetti.html" title="Confetti → burst animation" style="width:100%;aspect-ratio:96/86;border:0" loading="lazy"></iframe>
```

## Settings
Near the top of the file:
```js
window.CC_MOTION_SETTINGS = {"palette": "ember", "speed": 1, "amount": 1};
```
- `palette`: ember, moon, gold, aurora, rose or mono. Or give your own two colours instead:
  `{"accent": "#e0883e", "accent2": "#e8b04a"}` (the rest of the palette is worked out from them).
- `speed`: 0.25 to 3 (1 is normal).
- `amount` (0.2 to 2, default 1) sets the pieces.
The same settings also work as URL parameters on the file, e.g. `coyote-confetti.html?palette=rose&speed=1.5`.

## Licence
Free for personal and commercial use. Credit with a link to https://coyoteconcept.com/lab is appreciated, never required. Made by Coyote Concept, a web design studio in London: websites from £300.
