< feed: 0.32 kill: 0.64 >
Gray Scott Reaction Diffusion
This sketch simulates a reaction diffusion system using the Gray Scott algorithm. Drawing with the cursor will feed the system while reacting to the kill ratio. (holding shift while drawing will kill the that spot). You can cycle through various feed/kill ratios above. Different settings produce patterns that are found in nature and organic chemical reactions. This solution utilizes shader ping ponging for very performant computation on the GPU.