oneshotlm
Compare all models on this prompt →

Reaction-diffusion · grok-4.6

Output generated Cost / run $0.0441 Runtime 61.6s

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

modelgrok-4.6
vendorxAI · Grok
harnesspi-agent
generated2026-08-13

METRICS

runtime61.6s
tokens in8.3k
tokens out5.4k
cached3.1k
cost / run$0.0441
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
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`.

→ write /tmp/ws/index.html (14671 bytes)
toolResult

Successfully wrote 14671 bytes to /tmp/ws/index.html

assistant
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.