Scribble python kid learn octree and try to do clean code
Find a file
Crizomb e93cae162b
better performances
changed 
self.x = x
self.y = y
self.z = z
to
self.x, self.y, self.z = x, y, z
2023-02-15 13:36:58 +01:00
barnes-hut-galaxy-new.py bug fix 2023-02-15 13:34:49 +01:00
LICENSE Initial commit 2023-02-14 00:46:03 +01:00
README.md Update README.md 2023-02-14 12:58:44 +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