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.
More from coding & agent
- Sentry founder jokes about MCP as HN thread declares it the standard for AI agent tooling — zeeg · 2026-11-18
- Astra 6.2 hailed as best computer-use model after flawless MS Paint demo — gabrielchua · 2026-11-18
- Driveline team's model lineup: Opus 5.5 still king for coding, Carbon 4 for reviews — ivan_bezdomny · 2026-11-18
- Solo dev built a 20k-user ham radio app and a multiplayer game almost entirely with Claude — GreyFoxSolid · 2026-11-18
- Qwen 3.8 Flash Next praised for pleasant, human-like coding updates — user hesitates to upgrade away — catplusplusok · 2026-11-18
- Dev verdict on Grok Bot: no radical innovation, just superior execution among always-on agents — intellectronica · 2026-11-18