Investigations

Gravity Dots

JavaScript February 2026

A gravity-based canvas particle game with physics simulation and interactive forces. Built by Gyrum.

Gravity Dots is a physics playground where particles respond to gravitational forces. Click to create attractor points, and watch hundreds of particles orbit, collide, and form emergent patterns. The simulation runs on HTML5 Canvas with a custom physics engine.

You can adjust gravity strength, particle count, and damping in real time. Different modes let you create repulsors as well as attractors, or switch to a mode where particles leave trails creating generative art.

Another output from [Gyrum](/investigations/gyrum)'s autonomous pipeline. The AI agents designed the physics system, implemented the particle rendering, and wrote the test suite — all passing through 8 stages of automated review.

What this project demonstrates

Custom physics engine with gravitational forces
Interactive attractors and repulsors
Adjustable gravity, particle count, and damping
Generative art mode with particle trails
Built by Gyrum AI agents
HTML5 Canvas rendering

Technologies

CanvasPhysicsParticlesGyrumAI GeneratedSimulation

© 2026 Jonathan Leahy · v1.0.1