1planets(1) General Commands Manual planets(1)
2
3
4
6 planets - Gravitational simulation of planetary bodies
7
9 Planets is a simple interactive program for playing with simulations of
10 planetary systems. It is great teaching tool for understanding how
11 gravitation works on a planetary level.
12
13 The user interface is aimed at being simple enough for a fairly young
14 kid can get some joy of it. There's also a special kid-mode aimed at
15 very young children which grabs the focus and converts key banging into
16 lots of random planets.
17
19 Universe definition
20 a Add Planet
21
22 j Place random orbital planet
23
24 r Place random planet
25
26 u Undo (undoes last planet insertion)
27
28 e Reset to empty universe
29
30 g Go Back (goes back to just after last planet insertion)
31
32 Mouse Click on a planet to delete it
33
34 Physics
35 b Toggle bounce (experimental)
36
37 Display control
38 Cursor keys
39 Panning
40
41 c, Space
42 Move display to center of mass
43
44 x Initiate center of mass tracking
45
46 = Zoom in
47
48 - Zoom out
49
50 p Toggle Pause
51
52 o Change all colors randomly
53
54 t Toggle Trace
55
56 d Double Trace Length
57
58 h Halve Trace Length
59
60 Mouse Drag a box around a set of planets to follow the center of mass
61 of those planets
62
63 Program control
64 H Display help dialog
65
66 k Display option dialog
67
68 Ctrl-Shift-k
69 Toggle kid-mode. Kid mode locks the keyboard and mouse, so the
70 only way to get out is to toggle kid-mode again to get out.
71
72 l Load Universe After pressing l, press any other character to
73 load the universe with that name. Universes are stored in
74 ~/.planets/ .
75
76 s Save Universe After pressing s, press any other character to
77 save the universe with that name. Universes are saved in
78 ~/.planets/ .
79
80 q, Esc Quit
81
83 Planets uses a fourth-order runge-kutta approximation for the simula‐
84 tion itself. Planet bouncing is achieved by adding a repulsive force
85 to planets at close quarters. Planets is fairly flexible: you can
86 change the gravitational constant, the time-slice of the simulation,
87 and even the exponent used in the gravitational law. Universes are
88 saved in the ~/.planets directory, and are simple human readable and
89 editable files.
90
92 Currently bouncing doesn't work very well unless you make the time-
93 slice quite small. Ideally, it would be nice to have a billiard-style
94 bounce system, but it's not clear how to do this accurately in the
95 presence of a strong gravitational field.
96
98 Planets was written by Yaron M. Minsky <yminsky@cs.cornell.edu> as a
99 gift for his nephew, Eyal Minsky-Fenick.
100
101 This manpage was contributed originally by Martin Pitt <mar‐
102 tin@piware.de> for the Debian GNU/Linux system (but may be used by oth‐
103 ers).
104
105
106
107 April 20, 2003 planets(1)