oneshotlm
Compare all models on this prompt →

L-system tree · qwen3-vl-235b-a22b-instruct

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

I'll create a self-contained HTML file with a procedural L-system fractal tree that branches recursively and sways gently in the wind using p5.js.

write index.html (3583 bytes)
toolResult

Successfully wrote 3583 bytes to index.html

assistant

I've created a self-contained HTML file with a procedural L-system fractal tree that branches recursively and sways gently in the wind using p5.js. The tree is implemented using an L-system with the axiom "F" and rule "F[+F]F[-F]F", which creates a branching structure. The wind effect is simulated by adding a sinusoidal variation to the branch angles and lengths, creating a gentle swaying motion. The tree is drawn with green strokes and grows from the bottom center of the canvas upward. The animation runs at 60 FPS, and the canvas resizes to fit the window.

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

modelqwen3-vl-235b-a22b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

A branching L-system tree grows and sways subtly, but tree extends off-canvas edges and inputs cause no visible 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 motion0.8%
on click4.3%
on drag2.5%
on wheel4.5%
on enter + space3.9%
on arrow keys4.2%
on w/a/s/d4.5%
frame spread11.6 / 255
console errors0
js errors none

METRICS

runtime15.0s
tokens in1.8k
tokens out1.1k
cached2.2k
cost / run$0.0027