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.

Current backend:

Sorry, this demo is best viewed on a larger screen.

You might wanna head back now.

Back to homepage