Simulate gravitational interactions with Python and OpenCV
First of all you need to choose how much planets do you want. Open simulator.py and edit the n value. Before you need to choose mass, radius, initial x, initial y, initial x velocity, initial y velocity, color and if the planet has ring or not. After that you can run the program and see your simulation!
Have fun!
Pedro Cleto - pedrocaf@ufmg.br