https://github.com/insolor/astro
N-body simulation program, written in euphoria programming language
https://github.com/insolor/astro
euphoria gravity-simulation
Last synced: 9 months ago
JSON representation
N-body simulation program, written in euphoria programming language
- Host: GitHub
- URL: https://github.com/insolor/astro
- Owner: insolor
- Created: 2019-08-20T17:12:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-16T17:59:33.000Z (almost 4 years ago)
- Last Synced: 2024-11-30T15:57:19.945Z (over 1 year ago)
- Topics: euphoria, gravity-simulation
- Language: Euphoria
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro
N-body simulation program, written in euphoria programming language.
## Controls:
Keyboard:
- z - zoom in
- x - zoom out
- 1 - restore zoom to the default value
- c - clear screen (force redraw)
- f - follow the selected body
- -/+ - change time step (make the simulation faster or slower)
- p - pause
- P (shift+p) - make screenshot
- Shift+0 - divide by zero (crash and emit ex.err)
- Arrow keys - pan view
- Home - return view to the followed body
- 8 - select previous body
- 9 - select next body
- Esc - deselect
- Enter - view the next demo
Mouse:
- left button - select body or pan view
- mouse wheel - zoom in/out


