oneshotlm
Compare all models on this prompt →

L-system tree · gpt-4.1-nano

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
read {"path":"index.html"}
toolResult

ENOENT: no such file or directory, access '/tmp/ws/index.html'

assistant

The file "index.html" does not exist yet. I will create a complete, self-contained webpage with a procedural L-system fractal tree that branches recursively and sways in the wind, using p5.js. I will include the p5.min.js library and all the necessary code in one file.

write index.html (1410 bytes)
toolResult

Successfully wrote 1410 bytes to index.html

assistant

The file "index.html" has been created. It contains a complete webpage with a procedural L-system fractal tree that branches recursively and gently sways in the wind, using p5.js. You can open this file in a web 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

modelgpt-4.1-nano
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Procedural L-system tree renders and gently sways over time; keyboard/mouse inputs cause no additional change.

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 motion5.4%
on click4.7%
on drag5.0%
on wheel4.8%
on enter + space4.7%
on arrow keys5.4%
on w/a/s/d4.7%
frame spread6.8 / 255
console errors0
js errors none

METRICS

runtime6.4s
tokens in4.3k
tokens out649
cached2.3k
cost / run$0.0005