Click and drag - create velocity vector.
(Hold space to use "push vector".)
- An awesome retro skin,
- Four modes of gravity: Fg=0 (n/a), Fg=k (uniform), Fg=k/r (partial), and Fg=k/r2 (complete gravity according to the Grand Unified Theory),
- Optional air friction and walls, and
- Time control that allows full speed or frame-by-frame playback with one- or ten-frame increments.
You can find the complete source code of this demonstration at: gravitation2.txt.
- Original: 07.08.09
Copyright © John Petersen 2019.