oneshotlm
Compare all models on this prompt →

L-system tree · nemotron-3-ultra-550b-a55b

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
thinking
We need to create index.html with p5.min.js loaded locally. Build a single-page app with CSS in style tag, JS in script tag. Use p5.min.js already present. Need to write code for L-system fractal tree, recursive branching, wind sway.

We'll write HTML with canvas via p5. Use p5 instance mode or global? They said global p5, so we can use p5 functions directly. In p5, we can define setup(), draw(). Use angle, length, recursion. Add wind using Perlin noise varying over time to modify angles.

Write index.html now.
write /workspace/index.html (1569 bytes)
toolResult

Successfully wrote 1569 bytes to /workspace/index.html

assistant
thinking
We have created index.html. Need ensure p5.min.js exists in current directory. Assume it's present. Done.

The file **index.html** has been created in the current directory. It loads the local `p5.min.js`, sets up a full‑screen canvas, and draws a recursive L‑system fractal tree whose branches sway gently using Perlin‑noise‑driven wind. Open `index.html` 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

modelnemotron-3-ultra-550b-a55b
vendorNVIDIA
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

L-system tree renders and sways gently over time; no distinct reaction to click, drag, wheel, or keyboard inputs.

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 motion3.8%
on click3.7%
on drag4.7%
on wheel3.8%
on enter + space3.8%
on arrow keys3.8%
on w/a/s/d3.8%
frame spread6.9 / 255
console errors0
js errors none

METRICS

runtime21.7s
tokens in4.1k
tokens out745
cached128
cost / run$0.0037