Reaction-diffusion · grok-4.6
Run a Gray-Scott reaction-diffusion simulation on a canvas that grows organic Turing patterns in real time, with the mouse seeding new growth.
transcript · 4 messages
Run a Gray-Scott reaction-diffusion simulation on a canvas that grows organic Turing patterns in real time, with the mouse seeding new growth.
thinking
The user wants me to build a single-page web app - a Gray-Scott reaction-diffusion simulation on a canvas that grows organic Turing patterns in real time, with mouse seeding new growth. Everything in ...
I'll build a self-contained Gray-Scott canvas sim with live Turing patterns and mouse seeding, all in one `index.html`.
/tmp/ws/index.html (14671 bytes)Successfully wrote 14671 bytes to /tmp/ws/index.html
thinking
The user asked me to build a Gray-Scott reaction-diffusion simulation. I've written a complete self-contained index.html. Let me verify the file exists.
`index.html` is in the working directory — a self-contained Gray–Scott sim. - **Live RD**: U/V on a toroidal grid, 9-point Laplacian, feed/kill (`F`, `k`) plus `Du`/`Dv`/`dt` - **Mouse**: click/drag inoculates V so new growth nucleates under the brush - **Presets**: coral, mitosis, spots, worms, maze, waves - **Controls**: sliders, random seed, clear, pause - **No network**: all CSS/JS inline, no CDNs Open `index.html` in a browser; patterns organize over a few seconds.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
EVALUATION
Gray-Scott reaction-diffusion animates continuously and evolves into organic Turing patterns; mouse click/drag/wheel show subtle changes.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.