Back to catalog
3D & SimulationIntermediate · A few systems to tune#37

Gravity sim

Masses that pull each other

Snapshot

N-body style gravity playground with trails.

What this template is for

Orbital mechanics intuition and mesmerizing science toys.

Best when you need

  • Physics labs
  • Orbit demos
  • Screensaver science
  • Game gravity sandboxes

Usually includes

  • Multiple bodies
  • Gravitational attraction
  • Trails
  • Add/drag masses
  • Time scale

Iteration ideas

Ask for these next in the same Build chat — one or two per turn.

  • Elastic collisions toggle
  • Solar system preset
  • Black hole well
  • 2D/3D switch

Who it serves

Educators, space nerds, designers

Prompt seed

Paste into web Grok Build, then refine.

Build a "Gravity sim" using the Grok Build template as the base.
Goal: Masses that pull each other
Primary use case: Physics labs
Requirements: polished UI, mobile-first, working preview in one shot.
Tone: modern, restrained, production-demo quality — not a wireframe.

New to the loop? Learn web Build walks chat → preview → iterate → publish, using templates like this as practice ships.