Shipped this project!
ADDED FIGURE-8, GALAXY COLLISION, AND SUPERNOVA SCATTER PRESET TO N-BODY SIM!!
⠀
also added BARNES-HUT and VERLET INTEGRATION to support the added presets.
⠀⠀
SOME INSTRUCTIONS (tho you dont need em)
To view the added presets in this update, select “n-body” on the website and then select the specific preset- I recommend the supernova or the galaxy collisions (super cool!!)
⠀
if you encounter any issues, whether its about not being able to use the website, or the browser lagging (only if it lags A LOT) with a specific preset please read the last devlog, it includes solutions to almost all of them under the heading “NOTES”.
⠀
- Figure-8:
In 2000, Chanciner and Montgomery proved that there exists one special solution where three equal masses follow each other around a ‘figure-8’ path forever, and it’s also perfectly periodic! This simulation runs this. - Galaxy Collision:
A galaxy is a large collection of stars orbiting a massive core at the centre. This simulation has two such galaxies, each with about 280 stars, on a path to collision. As they pass through each other, the gravitational pull of one galaxy disrupts the orbits of the stars in the other galax and flings them out into tidal trails and streams. - Supernova (if you test one thing out from this project, let it be this!!)
When a massive star exhausts its fuel, the core collapses and the outer later are blasted outward. Left behind, is a dense remanant (neutron star or black hole). This simulation starts right after that explosion, with a remanant at the centre, and shells of debris flying outward. The remanant’s gravits gradually pulls some of it back, but the fastest fragments escape.