Skip to content

PicoJr/galaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highly Inaccurate Galaxy Simulation

.

A simplistic galaxy simulation: gravitational forces + collisions.

screencast.gif

gif was made using: https://github.com/syohex/byzanz-window

Code is heavily inspired from this Piston-Tutorial

Collision was implemented using this tutorial

Controls

create new planets by clicking on the window.

Camera Controls

keys action
arrows move camera
page up/down zoom in/out

Config

Almost everything can be configured (gravity, planets, planet texture...)

see config.json (valid w.r to json schema)

Crates

Releases

No releases published

Packages

No packages published

Languages