A gravity simulator, built to understand how celestial bodies warp the fabric of space-time and interact with each other. Inspired by particle.js and the recently released photograph of a black hole by the EHT research group.
Before using the simulator, define:
amountOfObjects
- The number of objects to be rendered initially. I reccomend about 78-100. (Default: 100).g
- The gravitational constant. (Default: 0.4)slowDown
- A numerical factor used to slow down the animation. (Default: 26)