OpenCL Physics

CLPhysics is an experimental Processing library that I wrote to take advantage of GPU parallel computing in physics simulations involving thousands or even millions of particles. It uses OpenCL as the language to program the GPU, and it re-implements the traer.physics library by Jeffrey Traer Bernstein.

Although I did not do much further work with CLPhysics, the preliminary results showed promise with simulations of large particle systems, as shown in the videos below. The source code is available on GitHub