Skip to content
/ astro Public

N-body simulation program, written in euphoria programming language

Notifications You must be signed in to change notification settings

insolor/astro

Repository files navigation

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

screenshot1

screenshot2

screenshot3

About

N-body simulation program, written in euphoria programming language

Topics

Resources

Stars

Watchers

Forks