Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
/ astro Public archive

N-body simulation program, written in euphoria programming language

Notifications You must be signed in to change notification settings

insolor/astro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e9e6e86 · Jun 16, 2022

History

9 Commits
Apr 11, 2013
Jun 16, 2022
Jun 16, 2022
Jun 16, 2022
May 26, 2013
Mar 2, 2014
Apr 11, 2013
May 26, 2013
Apr 11, 2013
Apr 11, 2013
Apr 11, 2013
Apr 11, 2013
Apr 11, 2013
Apr 11, 2013

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