Gravity Wells
No walls, no fixed wells — the only gravity well is your own cursor. Move it around
to fling every ball's slingshot orbit wherever you want, each one trailing a rainbow
streak. Get pulled in too close and a ball bursts into voxels and reappears from the
edge.
Balls: 0
Well: you
Captures: 0
Start
Restart
Pause
Sound: On
How it works: the well tracks your mouse (or your finger on touch)
every frame and pulls on every ball with an inverse-square force toward its center,
same shape as real gravity. On top of that base pull, a small amount of the ball's
purely radial velocity (never its tangential, orbit-carrying velocity) bleeds off
every frame — the same trick orbital simulators use to fake drag — which gradually
bends wild slingshot flybys into real, repeating loops around the well instead of
one-pass ejections. The "AOE" slider sets how far that pull actually reaches — outside
the dashed ring a ball feels nothing at all, inside it the usual inverse-square force
(plus circularizing) applies, so a bigger AOE gives you a wider net to catch, redirect,
and hold balls in orbit with. Every frame's position is recorded with a cycling hue,
same rainbow-afterimage technique as Growing Trail Ball, so each orbit leaves a fading
colored streak behind it — you'll see it curl into a visible ellipse once a ball
settles in. A fast, close swing past the well plays a rising-then-falling "whoosh,"
balls bounce softly off the canvas edges with their own sound, and getting pulled all
the way into the well's small solid core "captures" a ball — it bursts into voxels
and a fresh one reappears from a random edge.