oneshotlm
Compare all models on this prompt →

Reaction-diffusion · kimi-k3

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 ↗
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
Build a single index.html with Gray-Scott simulation on canvas, mouse seeding, nice coloring, controls maybe. Keep it compact but good.
write /workspace/index.html (4784 bytes)
toolResult

Successfully wrote 4784 bytes to /workspace/index.html

assistant

Created `/workspace/index.html` — a self-contained Gray-Scott reaction-diffusion simulation: - **Simulation**: classic Gray-Scott model (U/V chemical fields, 9-point Laplacian) on a coarse grid upscaled with pixelated rendering, ~10 sim steps per frame for real-time growth. - **Mouse seeding**: moving the mouse deposits V-chemical, dragging seeds harder, and clicking splashes a large seed blob; touch is supported too. - **Presets** (keys 1–3): coral/labyrinth, spots-and-worms, and soliton pulse parameter sets. - **Controls**: `R` reseeds randomly, `Space` pauses. - **Rendering**: organic teal-green-bone palette driven by V concentration with a subtle U-based glow, written directly into an `ImageData` buffer for speed. Open it in any browser — no network or dependencies needed.

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

modelkimi-k3
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-28

EVALUATION

4/5 working

Gray-Scott reaction-diffusion pattern forms and evolves organically; drag visibly seeds new growth, click/wheel show minor effect, keys inert.

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.

idle motion92.5%
on click0.6%
on drag3.9%
on wheel0.9%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread46 / 255
console errors0
js errors none

METRICS

runtime44.6s
tokens in2.7k
tokens out2.1k
cached2.0k
cost / run$0.0091