WOLFRAM|DEMONSTRATIONS PROJECT

Gravitational Interaction Simulator

​
log
10
(mass of planet)
2
presets
moon
start
stop
reset
stopped
This Demonstration lets you simulate several systems acted upon by Newtonian gravitation. You can start or stop a simulation with the "start" and "stop" buttons and use the "presets" drop-down menu to load predefined situations. Planets can be created by clicking their positions and dragging to giving them initial velocities. The mass of created planets can be controlled with the "
log
10
(massofplanet)
" slider. Planets are assumed to undergo an inelastic collision when they touch. The mass of a planet is represented by color and radius. The gravitational constant is
G
set equal to 0.00002 for convenience.