Barnes-Hut simulation in 2d and 3d
Simulation and modeling of natural processes | University of Geneva | Coursera
Week 6: Particles and point-like objects. Jonas Latt
https://github.com/jordanbell2357/modeling/blob/main/barnes_hut_2d/barnes_hut.ipynb
Barnes-Hut simulation 2d
ffmpeg -framerate 36 -i bodies_%06d.png -c:v libx264 -pix_fmt yuv420p barnes_hut_2d.mp4
Barnes-Hut simulation 3d
https://github.com/jordanbell2357/modeling/blob/main/barnes_hut_3d/barnes_hut.ipynb
ffmpeg -framerate 36 -i bodies3D_%06d.png -c:v libx264 -pix_fmt yuv420p barnes_hut_3d.mp4