
Particle Gravity
An interactive N-body gravity simulation with GPU-accelerated particles. Watch galaxies form, collide, and evolve in real-time.
How to use
Watch particles interact through gravitational forces to form galaxy-like patterns over time. **Mouse Controls:** • Drag to pan around the simulation • Scroll wheel to zoom in/out • Watch as particles naturally cluster and form spiral patterns **Main Controls:** • Click the settings button (bottom right) to adjust parameters • Modify particle count, gravity strength, and collision settings • Choose different initial particle arrangements (uniform, rotation, collision patterns) **Key Features:** • All particles attract each other through simulated gravity • Higher particle counts create more realistic galaxy formations • Collisions can be enabled for more complex interactions • Spatial tree optimization allows for thousands of particles **Performance Tips:** • Start with fewer particles (10,000-50,000) for smooth performance • Enable GPGPU backend for larger simulations • Adjust gravity strength to speed up or slow down formation process The simulation runs automatically once loaded. Experiment with different settings to see how various initial conditions lead to different galactic structures. Galaxy-like spiral patterns typically emerge after several minutes of simulation time with appropriate particle counts and gravity settings.
Reviews
No written reviews yet. Be the first!
More from Interactive

An interactive particle sandbox. Drop sand, water, fire, and more and watch elements interact in a mesmerizing physics simulation.
by mohanad-80

Interactive WebGL fluid dynamics you can play with using your mouse or touch.
by PavelDoGreat





