N-body simulation using Python and GPU compute shaders
Vložit
- čas přidán 27. 08. 2024
- Simulation of the gravitational interaction between 40,000 stars. About 31 FPS on an nVidia 980Ti.
This is a lot smoother in person. The video compression does not play well with this type of video.
Code: github.com/pvc...
That’s awesome Prof. Craven!
This is really cool! I've done n-body simulations in 2 dimensions and in 3 dimensions using python and multiprocessing, and then I started wondering if maybe compute shaders would allow me to do more and I can't wait to look at your source code and learn from it.
This is amazing, wich library are you using to use compute shaders?
Python Arcade
It's build into pyhon arcade