oneshotlm
Compare all models on this prompt →

L-system tree · inkling-small

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 · 8 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
The user wants an L-system fractal tree using p5.js (pre-provided). Let me build it in index.html, loading p5.min.js locally and implementing recursive L-system with gentle wind sway.
bash {"command":"ls p5.min.js"}
toolResult

p5.min.js

assistant
thinking
Good, p5.min.js exists. Now I'll write index.html with an L-system tree. I'll implement a simple recursive L-system with rules (e.g., F -> F[+F]F[-F]F or similar), drawn with branches that sway slightly based on time/sine wave.
write /tmp/ws/index.html (2122 bytes)
toolResult

Successfully wrote 2122 bytes to /tmp/ws/index.html

assistant
thinking
The user just asked to build it; I've written index.html loading local p5.min.js with a recursive L-system tree that sways. Let me briefly confirm and summarize.
bash {"command":"echo \"Created index.html ($(wc -l < index.html) lines) loading local p5.min.js; includes recursive L-system tree with wind sway
toolResult

Created index.html (88 lines) loading local p5.min.js; includes recursive L-system tree with wind sway.

assistant
thinking
Done. Provide concise explanation of what's inside.

Created `/tmp/ws/index.html`. It loads the local `p5.min.js`, generates an L-string with rule `F -> F[+F]F[-F]F`, and renders it recursively with `line()` branches that rotate gently via `sin(frameCount...)` sway. No external resources.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

A branching L-system tree renders and appears to sway slightly, but is not interactive to inputs and extends off-screen top.

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.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread14.2 / 255
console errors0
js errors none

METRICS

runtime8.6s
tokens in7.5k
tokens out1.1k
cached5.6k
cost / run$0.0049