Home▸Physics & Mechanics▸3D Gravitational Particle Field

🪐 3D Gravitational Particle Field

3D Gravitational Particle Field: hundreds of particles orbit massive stars under real inverse-square Newtonian gravity, rendered in true 3D with an orbiting camera.

Physics & Mechanics3DModerate60 FPS📱 Mobile-adapted
3d-gravity-simulation ↗ Open standalone
⚙ Under the hood

Hundreds of glowing particles orbit one or more massive stars under a genuine inverse-square gravity law (F = G·m / d²), extended from the 2D original into full 3D space with a free-orbiting camera. Drag to rotate the view, scroll to zoom, hold Shift while dragging to plant a temporary attractor, or Ctrl to repel — the same attract/repel interaction as the flat version, now with real depth.

Gravity SimulationNewtonian GravityN-Body Orbits

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)