Devlog #2 — N-Body Physics
Today I implemented dynamic physics and dynamic moving.
Basically, before, the move function—the function on a one-millisecond timer that updated everything—was extremely hard-coded. It just used the data of the existing two turtles (the two bodies I made myself), and it definitely wasn’t scalable.
So that was what I tackled today. Now, the main function that runs our whole physics simulation is a tad bit less torturous.
Comments 1
The best thing in this world are lists in lists…
Sign in to join the conversation.