oneshotlm
Compare all models on this prompt →

Reaction-diffusion · llama-3.1-70b-instruct

Output generated Cost / run $0.0021 Runtime 25.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.

⛨ 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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime25.4s
tokens in4.3k
tokens out872
cached0
cost / run$0.0021
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 (1934 bytes)
toolResult

Successfully wrote 1934 bytes to index.html

assistant

This is an HTML file with a canvas element, which is used to render the Gray-Scott reaction-diffusion simulation. The simulation is implemented in JavaScript, and it uses the canvas element to display the results. The simulation is seeded with random values, and it evolves over time according to the Gray-Scott model. The user can interact with the simulation by clicking and dragging on the canvas, which will seed new growth in the simulation.