CUDA Particles

A very simple particle system created with C++ and CUDA, which makes it possible to utilize the many cores of the graphics card.

To avoid the time consuming cudaMemcpy call (which allows for memory transfer between RAM and VRAM), I used Vertex Buffer Objects to store the position and velocity of the particles in three dimensions.

In the clip below I simulated 4.2 million particles on a Nvidia GTX 570 card.