oneshotlm
Compare all models on this prompt →

L-system tree · gpt-4o-mini-2024-07-18

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 · 4 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
write index.html (1309 bytes)
toolResult

Successfully wrote 1309 bytes to index.html

assistant

The procedural L-system fractal tree has been created and written into `index.html`. You can find the complete code in it, which includes the tree branching recursively and gentle sway.

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

modelgpt-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Procedural L-system tree grows and sways slightly on its own; small on gray background, no visible input interactivity.

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 motion2.2%
on click2.4%
on drag2.4%
on wheel2.5%
on enter + space2.2%
on arrow keys2.8%
on w/a/s/d2.7%
frame spread7.3 / 255
console errors0
js errors none

METRICS

runtime8.3s
tokens in2.9k
tokens out483
cached1.5k
cost / run$0.0006