top of page



REACTION-DIFUSSION
Languages
C++ and OpenGL
About
The idea of this project is to simulate two virtual chemicals reacting and diffusing on a grid (texture). These chemicalls diffuse at different rates, so the concentrations are not the same in each cell. Each frame, the cells are colored depending of the concentration of each chemical, and then the cells are updated following the Gray-Scott model. I think that the patterns created are very curious, and if you play with the parameters crazy things can happen. As with the slime mold, I found this project a good opportunity to work with compute shaders, and I definetly recommend to try to implement it!
Features
Here are the features of the simulation that are currently customizable:
-
Feed rate
-
Kill rate
-
Diffusion rate
​
References
Here you will find where did the idea came from:
-
Sebastian Lague video - Initial inspiration
-
Web that acted as a tutorial
bottom of page