oneshotlm
Compare all models on this prompt →

L-system tree · qwen3-vl-32b-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 · 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 -la"}
toolResult

total 1012 drwxr-sr-x. 2 node node 23 Aug 1 20:13 . drwxrwsrwx. 3 root node 16 Aug 1 20:13 .. -rw-r--r--. 1 node node 1034532 Aug 1 20:13 p5.min.js

assistant
write index.html (2252 bytes)
toolResult

Successfully wrote 2252 bytes to index.html

assistant

I've created a single-page web application with a procedural L-system fractal tree that sways gently in the wind. The app uses the provided p5.min.js library and is fully self-contained in index.html with no external resources. The tree features: - Recursive branching using an L-system approach - Gentle swaying motion controlled by a sine wave for natural movement - Color gradient from dark brown to lighter wood tones based on branch depth - Responsive design that adapts to window size - Smooth animation at 30 FPS The tree grows from the bottom center of the screen, with branches recursively splitting into left and right branches at specified angles, creating a fractal-like structure. The wind effect is implemented by rotating the entire tree slightly with each frame, giving it a gentle swaying motion. The code is written entirely within the HTML file, with CSS in a <style> tag and JavaScript in a <script> tag, as requested.

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-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

A colorful fractal tree renders and sways gently on its own; inputs don't visibly alter it beyond idle sway.

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.1%
on click1.4%
on drag0.1%
on wheel1.5%
on enter + space2.6%
on arrow keys1.7%
on w/a/s/d2.4%
frame spread6.3 / 255
console errors0
js errors none

METRICS

runtime12.4s
tokens in5.6k
tokens out991
cached0
cost / run$0.0010