oneshotlm
Compare all models on this prompt →

Reaction-diffusion · qwen3-vl-32b-instruct

Output generated Cost / run $0.0013 Runtime 26.3s

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.

⛨ sandboxed Open in new tab ↗

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

modelqwen3-vl-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime26.3s
tokens in4.7k
tokens out1.9k
cached0
cost / run$0.0013
Transcript · 4 messages
user

Run a Gray-Scott reaction-diffusion simulation on a canvas that grows organic Turing patterns in real time, with the mouse seeding new growth.

assistant
→ write index.html (5128 bytes)
toolResult

Successfully wrote 5128 bytes to index.html

assistant

I've created a single-page web application that implements the Gray-Scott reaction-diffusion simulation. The app features: 1. A canvas that displays organic Turing patterns growing in real time 2. Mouse interaction to seed new growth by clicking anywhere on the canvas 3. Self-contained HTML with inline CSS and JavaScript (no external resources) 4. Visual representation where the color gradient shows the concentration of the V substance The simulation uses the classic Gray-Scott parameters with: - Diffusion rates: Du = 0.16, Dv = 0.08 - Feed rate: F = 0.055 - Kill rate: k = 0.062 The visualization maps the V concentration to a green-to-red gradient, creating visually striking organic patterns that evolve over time. Clicking anywhere on the canvas adds a new seed point, initiating new pattern growth. The file `index.html` has been written to the current directory as requested.