Use OpenCL to calculate the physics of particles, and use them to paint a texture to be rendered in OpenGL.

Source Code

...