For K-12 Students · Particle-Mesh N-Body
Particle-Mesh N-Body for a slingshot
Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a slingshot live below — adjust the inputs and watch it respond, right in your browser.
GPU N-Body — Particle Mesh (WebGPU)Live
mass deposit · Poisson solve · gradient push
Controls
The particle-mesh method scales to 100k+ bodies by solving gravity on a grid instead of pair-by-pair.
Data Inspector
Backendstarting…
Bodies65,536
Grid160×160
ComplexityO(N + G²·iters)
FPS—
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Particle-Mesh N-Body
Particle-Mesh N-Body for a projectile from a cannonParticle-Mesh N-Body for a bouncing ballParticle-Mesh N-Body for a pendulum clockParticle-Mesh N-Body for a car brakingParticle-Mesh N-Body for a roller-coaster loopParticle-Mesh N-Body for a satellite orbitParticle-Mesh N-Body for a mass on a springParticle-Mesh N-Body for a skydiver's free fall
Frequently asked questions
- Is this good for k-12 students?
- Yes — this version of "Particle-Mesh N-Body for a slingshot" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.