A realtime simulation made with Processing and GPGPU. A white rectangle, as an eraser, is for demonstrating realtime interactivity. This self-organizing simulation is based what is called the FitzHugh-Nagumo model, which is originally proposed for describing electrophysiological phenomena in nervous systems. This model is a two-variable (activator and inhibitor) reaction-diffusion system. The drawing color is corresponding to the concentration of the activator. The program is made with Processing (the IDE based on Java) and JOCL (OpenCL for Java). GPGPU (GPU Tesla C1060 for General Purpose (numerical simulation in this case) is working for accelerating the simulation. The calculation mesh is composed of about 800,000 nodes. A drawing-update is done by 50 temporal-evolutionary-updates. The two of system parameters vary spatially. Therefore, various kinds of spatio-temporal patterns (spatially periodic, 'zero'-sea and temporally osillatory regions) are obtained. So, one can see this picture as a "phase diagram."
This post was originally on Google+