oneshotlm
Compare all models on this prompt →

L-system tree · mercury-2

Using the pre-provided p5.min.js (global p5), grow a procedural L-system fractal tree that branches recursively and sways gently in the wind.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

Using the pre-provided p5.min.js (global p5), grow a procedural L-system fractal tree that branches recursively and sways gently in the wind.

assistant
bash {"command":"ls -l"}
toolResult

total 1012 -rw-r--r--. 1 node node 1034532 Aug 1 20:13 p5.min.js

assistant
write index.html (1016 bytes)
toolResult

Successfully wrote 1016 bytes to index.html

assistant

The **index.html** file has been created. It loads the provided `p5.min.js` library and implements a procedural L‑system‑style fractal tree that branches recursively and gently sways using Perlin noise to simulate wind. Open the file in a browser to see the animation.

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Procedural L-system fractal tree sways gently in the wind, consistent across all inputs; no interactivity but matches prompt.

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 motion0.1%
on click2.1%
on drag2.2%
on wheel2.0%
on enter + space1.5%
on arrow keys2.3%
on w/a/s/d2.3%
frame spread3.1 / 255
console errors0
js errors none

METRICS

runtime3.7s
tokens in5.1k
tokens out606
cached1.9k
cost / run$0.0013