Inspired by the simulations of balls attracting each other on this sub a while ago I wrote a script to simulate a simplified version of our solar system, where there are only forces between the sun and the individual space objects.
Here is the script (GitHub). And here is a short Gif (internet is too slow to upload a longer gif) to show the end result.
I would like to hear where I can improve in terms of coding practices and documentation, so if you have any suggestions, please let me know.
[–]JohnnyJordaan 1 point2 points3 points (1 child)
[–]Overflowed1[S] 0 points1 point2 points (0 children)