Skip to main content

Reaction-Diffusion Simulator

Mobile morphogenesis

Epilepsy Warning: Some settings can cause bright flashing.

Press and drag to draw.

This project is a GPGPU simulation of a Gray-Scott Reaction-Diffusion system. Reaction-Diffusion systems have many interesting properties, and can be used to model various biological, chemical, and ecological processes.

Here, many of the presets you can try develop in a way similar to the formation of skin pigments in spotted or striped animals. More reading here.

The code for this project is available on Github.

I expanded this project significantly into an app for iOS and macOS. Have a look here if you’re interested.

Note: This will run at half precision on iOS due to browser limitations, so some of the presets may not behave as intended.