ben ebsworth
Generative Art

Orbits

Bodies tracing a shared circle, leaving light trails.

knobs

How it works

Each orbiter is placed on a shared circle at angle time * speed + i/n * 2π, so they stay evenly spaced and sweep together. Every frame we paint a translucent rgba(10,10,12,trail) rectangle over the whole canvas instead of clearing it — the leftover ghost of previous frames becomes the trail. A lower Trail value = longer tails.

Knobs

  • Orbiters — how many bodies share the circle.
  • Speed — angular velocity.
  • Radius — circle size relative to the canvas.
  • Trail — per-frame fade; lower = longer light trails.
  • Color — orbiter + glow colour.