Reaction-diffusion · qwen3-30b-a3b-instruct-2507
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.
I'll create a self-contained HTML file with a Gray-Scott reaction-diffusion simulation that creates organic Turing patterns in real time, with mouse interaction to seed new growth.
index.html (10063 bytes)Successfully wrote 10063 bytes to index.html
I've created a self-contained HTML file with a Gray-Scott reaction-diffusion simulation that generates organic Turing patterns in real time. The simulation features: 1. Real-time pattern generation with the classic Gray-Scott model 2. Mouse interaction to seed new patterns by clicking anywhere on the canvas 3. Controls to reset the simulation and pause/resume the animation 4. A vibrant color palette that visualizes the concentration of the V component 5. Responsive design that adjusts to window size The simulation runs entirely in the browser with no external dependencies, using only HTML, CSS, and JavaScript. The patterns emerge naturally from the reaction-diffusion equations, creating intricate, organic structures that evolve over time.
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.