Instructions
This is a reaction-diffusion simulation using the Gray-Scott model implemented with TensorFlow.js.
The simulation uses pure matrix math and convolution to compute the Laplacian operator - no WebGL shaders!
Click and drag on the canvas to add chemical B and watch patterns emerge. Try different presets to see famous reaction-diffusion patterns.