an n-body gravity simulator written in lua with the love2d framework
- 1: random body placement
- 2: show solar system
- 3: use nbody presets
- space / backspace: focus next / prev body
- f: float camera
- r: reset canvas
- c: restart current simulation
- m: toggle drawing trajectories
- s: take a screenshot
- b and n: prev / next nbody simulation
- - and + : zoom out / in
- . and ,: slow down / speed up simulation
- d and D: decrease / increase time step
- [ and ]: pick prev / next integrator
- p: print body info (mass, area, velocity) to terminal
- euler / semi-implicit euler
- verlet
Planetary data is obtained from the astro-phys.com API
closed nbody orbits are from www.princeton.edu/~rvdb/WebGL/nBody.html


