Reaction-diffusion · qwen3-vl-8b-instruct
Output generated Cost / run $0.0015 Runtime 17.4s
Prompt for this run
Run a Gray-Scott reaction-diffusion simulation on a canvas that grows organic Turing patterns in real time, with the mouse seeding new growth.
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
METRICS
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 Gray-Scott reaction-diffusion simulation that grows organic Turing patterns in real time with mouse interaction. This will be a single HTML file with embedded CSS and JavaScript.
index.html (7534 bytes)Successfully wrote 7534 bytes to index.html
I've created a Gray-Scott reaction-diffusion simulation that grows organic Turing patterns in real time with mouse interaction. The simulation: 1. Uses the Gray-Scott equations to model chemical reactions and diffusion 2. Creates a canvas that fills the entire browser window 3. Allows users to seed new growth by clicking anywhere on the canvas 4. Continuously updates the pattern in real time 5. Displays a simple info message explaining how to interact The simulation features: - Adjustable parameters for feed rate, kill rate, and diffusion coefficients - Real-time rendering of evolving patterns - Mouse interaction for seeding new growth - Responsive design that adapts to window size You can now open index.html in any modern web browser to see the simulation in action. Click anywhere on the canvas to seed new growth and watch the organic Turing patterns evolve over time.