Asking Claude to Code a Particle Simulation: 4.2k Balls Sync Into Perfect Spirals

mickeyxfriedman · x · 2026-11-18

The author asked Claude to code a soothing particle simulation before bed, and the result was striking: 4,200 balls bounce at different rhythms and drift into spirals. Each ball's rhythm fits a whole number of bounces, so they all land together at the same instant and come full circle.

A neat little demo of using AI to generatively create mesmerizing visuals.

Related event: Developer Asks Claude to Build a Soothing 4200-Ball Particle Simulation Before Bed(2 posts)→

Original post →

More from coding & agent

coding & agent channel →