Skip to content

jithin-renji/grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grid

Grid is a simple Newtonian physics simulator. Currently, it animates trajectories for any system.

demo.mov

Setup

Make sure you have Python 3.14 installed. Install all of the required dependencies by running:

pip install -r requirements.txt

Run ./grid.py --help for usage information.

TODO

  • Newtonian gravity
    • Gravity for 2 bodies
    • Gravity for n bodies
    • Proper scaling to show accurate orbit shapes
  • Animated trajectories
  • Special relativity
  • General relativity

License

Grid is free software licensed under GPLv3.

Copyright (C) 2025 Jithin Renji