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