Gravity Sandbox
Fling planets into orbit and watch them dance, collide and form systems. Mesmerizing.
- 🌀 Toy
- ✓ Free
- ✓ No sign-up
- ✓ Private — runs in your browser
- ✓ Any device
Drag anywhere to fling a planet
Aim & pull back for power · they'll find each other
…or load a preset below
Physics
Look & feel
Tips
- · Drag slow & sideways for clean orbits.
- · Tiny bodies orbit massive ones — make a sun first.
- · Heavier bodies glow warmer.
- · Collisions merge & conserve momentum.
Why you’ll love Gravity Sandbox
How to use it
- 01
Open it
No download and no login — the tool is ready right at the top of this page.
- 02
Use it
Enter your details or start interacting. Everything updates live as you go.
- 03
Get your result
Copy, download or share your result in a single tap. That’s it.
About Gravity Sandbox
Gravity Sandbox is a free, browser-based orbit simulator that lets you create and manipulate planetary systems in real time. Fling planets into the void and watch them respond to gravitational forces, forming stable orbits, chaotic dances, or spectacular collisions. This n-body simulation runs entirely in your browser—no installation, no signup, no data collection. It's a surprisingly engaging way to explore how gravity shapes the cosmos.
Unlike static diagrams in textbooks, this gravity simulator shows gravitational interaction unfolding in real time. Watch as planets attract each other, swing around in complex elliptical paths, and sometimes merge into new bodies when they collide. The n-body simulation engine handles all the physics calculations quietly in the background, leaving you free to create and experiment. It's remarkably meditative—unpredictable, compelling, and genuinely mesmerizing to watch evolve.
Built for curiosity, not complexity. You don't need a physics degree to enjoy an orbit sandbox—just the impulse to create and experiment. Fling objects, adjust their starting velocities, and observe how tiny changes cascade into wildly different outcomes. Every session is free and runs entirely on your device.
Popular uses
- ✦ Exploring how gravity creates stable orbits and what small changes lead to system collapse
- ✦ Learning orbital mechanics intuitively before (or instead of) diving into the math
- ✦ Creating mesmerizing planetary systems and watching them evolve over time
- ✦ Understanding n-body problems through direct observation and experimentation
- ✦ Pure relaxation—watching planets drift, orbit, and interact with zero pressure or goals
Frequently asked questions
What exactly is an n-body simulation?
Can I actually learn physics from this?
What happens when planets collide?
Does it work on my device?
Is Gravity Sandbox free to use?
Do I need an account to play?
More toys & sandboxes
All toys & sandboxesPeople also use
We built this. We can build yours.
Gravity Sandbox is one of our free tools. Need a website, app, AI agent or automation? Fixed price — and you own the code.