Skip to content

Bonevane/Orrery

Repository files navigation

Orrery

A 2D universe sandbox in Java.

Controls:

  • WASD or ARROW KEYS - Move the camera
  • 1 - Select Planet (For Placement)
  • 2 - Select Star (For Placement)
  • 3 - Select Black Hole (For Placement)
  • Left Click - Place a selected entity object, hold for larger objects and aim in the direction you want the initial velocity to be.
  • R - Resets the simulaton (removes everything and resets camera)
  • C - Resets the camera to it's origin position
  • T - Draws trails behind entities
  • P - Pause the simulation
  • I - Zoom In
  • K - Zoom Out
  • TAB - Centers the camera on an entity, hit multiple times to cycle through
  • F3 - Debug mode, shows vectors + masses + velocity of the entities as well as important information in the top left.

About

A 2D Gravity Simulator in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors