Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Particle Universe

Particle Universe is a project that simulates physics of celestial objects.

Installation

Download the requirements and the python file and then add your planets and stars as shown in the usage below.

pip install -r requirements.txt

Usage

from particle_universe import *

star_mass = 1.989 * 10**30
Star = Obj((width // 2, height // 2), star_mass, 695700, color="yellow")

run()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

A highly-customizable particle universe that simulates gravity using realistic physics calculations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages