💾 Archived View for emile.space › projects › jufo › 2019-galaxy-simulation captured on 2024-02-05 at 09:12:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-08)
-=-=-=-=-=-=-
After having generated multiple galaxies, I realized that it would be fun to do stuff with the stars.
<img src="./example_image_cropped.png">
The image above shows two heavy masses in a field of stars. The direction of the force acting on the stars is dispalyed using the line pointing away from the individual star. The intensity of the force acting is depicted using colors (blue=low force, red=higher force).
If you find this interesting and want to read a comprehensive introduction on how this works, you can read the => https://emile.space/projects/paged-out/ Paged Out!article I wrote about this.
https://git.darknebu.la/GalaxySimulator
The below quadtree contains a single star in each cell:
<img src="./barnes-hut-tree-50-negated.png">
<img src="./barnes-hut-tree-1000-negated.png">