PPolySim OS
For Educators · Gravity Well

Gravity Well for a mass on a spring

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a mass on a spring live below — adjust the inputs and watch it respond, right in your browser.

Gravity Well StudioLive

Controls

The classic rubber-sheet picture of gravity: mass warps the grid, and a body orbits in the curved surface. Drag the star to move the mass and reshape the well; drag empty space to orbit the view.

Presets

▶ Run in Python

Data Inspector

Central mass60
Well depth∝ M/r
View3D orbit

Governing equation

Reading this result: At mass 60 the well is moderately curved; the body traces a near-stable ellipse because its sideways motion balances the inward pull (∝ M/r²).

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Gravity Well

Frequently asked questions

Is this good for educators?
Yes — this version of "Gravity Well for a mass on a spring" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.