Josh Bainbridge / VFX Software Engineer

joshbainbridge@googlemail.com


2015, Jun-

Reaction Diffusion Equations

This was an OpencCL project that integrated a two part reaction diffusion equation using the gray-scott model. The simulation produces activator-substrate behaviour between two chemical morphogens and a wide variety of effects depending upon simple input parameters. I also visualized the results by creating a framebuffer that used the OpenCL and openGL interop to prevent movement of the data between the device and host.

  • GPU based implementation
  • Interop between OpenCL and OpenGL
  • Diverse range of resulting patterns

The device code uses an implicit euler integration that produced stable and fast results with a convolution mask that evaluates diagonal neighbours. You can access a short paper I wrote on the subject here which also has more details on implantation.

Follow this link to the GitHub project.