N-body simulation using Python and GPU compute shaders

Sdílet
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...

Komentáře • 6

  • @samdonaldson9724
    @samdonaldson9724 Před 2 lety +1

    That’s awesome Prof. Craven!

  • @thespudguy
    @thespudguy Před 2 lety +2

    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.

  • @ico-theredstonesurgeon4380

    This is amazing, wich library are you using to use compute shaders?