Scribble python kid learn octree and try to do clean code
Find a file
2023-02-15 13:53:45 +01:00
barnes-hut-galaxy-new.py increasing performances 2023-02-15 13:40:18 +01:00
LICENSE Initial commit 2023-02-14 00:46:03 +01:00
README.md Update README.md 2023-02-15 13:53:45 +01:00
vec3.py better performances 2023-02-15 13:36:58 +01:00

galaxy-sim

simple 3D galaxy simulation in pure python using barnes-hut algorithm. readable code. pypy compatible.

I followed this guide : http://arborjs.org/docs/barnes-hut#:~:text=The%20Barnes%2DHut%20algorithm%20is,of%20which%20may%20be%20empty).

using vispy for rendering :

galaxies

10**4_stars