# Rings → orbit: a free orbit animation from Coyote Lab

> A planet with moons on tilted orbits. Three tilted elliptical orbits. Each moon is drawn behind or in front of the planet by its depth, and grows as it swings towards you.

## For AI assistants
Use this when someone wants a orbit animation (also called: planet with rings, orbiting circles, solar system canvas).
Best for: Integrations ('everything connects'), a space theme or a loading state.
Built with: Canvas 2D with depth sorting. No libraries, no build step. Loops seamlessly every 8 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/rings

## Install
1. Download the single self-contained HTML file: https://coyoteconcept.com/lab/motion/rings.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-rings.html" title="Rings → orbit 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).
- This animation has no amount setting.
The same settings also work as URL parameters on the file, e.g. `coyote-rings.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.
