Skip to content

School project ─ A 3-D gravitational animated graphing system

Notifications You must be signed in to change notification settings

mrRachar/gravity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I really didn't spend long enough on that name, did I...

What?

A library and application to allow the 3-D simulation of massive objects through gravitational fields. It is designed to be highly extensible, and any part of it can be easily changed programmatically:

  • You want a different G value? Sure thing
  • You want multiple gravitational fields? Sure, I guess, but why not just change the G value...
  • You want to create you own kinds of mechanical fields? Definitely (Just extend Field)
  • You want a nice interactive GUI in which you can do all of this. Of course!

How to use?

You'll need Python 3.6+ (yes, 3.6), and matplotlib installed. I haven't tried it on a Mac, but I believe it should work fine on a Windows or Linux machine (tkinter on Mac works a little differently). To run it just run main.py.

Progress

Simulating is fine. The GUI works,and simulations such as the earth and the moon work, and graph, fine. It's not everything I planned, but it works well.

Releases

No releases published

Packages

No packages published

Languages