Inspiration
Recently I was introduced to a popular Sc-Fi series called "The three body problem", the name stuck with me and as I researched about the titel I ran into the famous N-Body Problem. Fast forwards a few months and I see the N-B Problem surface again at the hackathon. So I figured why not experiment and just give it a shot at simulating it!
How we built it
The simulation itself looks at every particle, and calculates the force of gravity acting on that particle with every other particle in the system. Then it accelerates the particles in a direction that is the net force of the resulting forces from all the particles in the system.
What's next for The N Body Simulation
the next steps would be to make it look prettier. I had some plans on shifting the colors as the particles accelerate but unfortunately ran out of time.
Log in or sign up for Devpost to join the conversation.