oneshotlm
Compare all models on this prompt →

L-system tree · gpt-5.6-luna

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
**Creating an index**

I want to create an index, so it seems I need to start by inspecting the files. It looks like I need to gather some details to ensure everything's organized correctly. I’m thinking the inspection process will help me understand what I’m working with before diving into the indexing. This should set me up for success, right? Let's see what I can find in those files first!
bash {"command":"pwd && ls -la && printf '\\nPI env:\\n' && env | grep '^PI_' || true"}
toolResult

/tmp/ws total 1012 drwxr-sr-x. 2 node node 23 Aug 1 17:48 . drwxrwsrwx. 3 root node 16 Aug 1 17:48 .. -rw-r--r--. 1 node node 1034532 Aug 1 17:48 p5.min.js PI env: PI_CODING_AGENT=true PI_REASONING_LEVEL=medium PI_SESSION_FILE=/home/node/.pi/agent/sessions/--tmp-ws--/2026-08-01T17-48-26-285Z_019fbe71-072d-7113-b886-9d2fafc2292c.jsonl PI_PROVIDER=openrouter PI_MODEL=openai/gpt-5.6-luna PI_SESSION_ID=019fbe71-072d-7113-b886-9d2fafc2292c PI_TIMEOUT_MS=600000

assistant
write /tmp/ws/index.html (7391 bytes)
toolResult

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

assistant
bash {"command":"test -f index.html && grep -nE 'p5.min.js|function setup|function draw|function drawBranch' index.html && wc -c index.html"}
toolResult

32:<script src="p5.min.js"></script> 56:function setup() { 69:function draw() { 86:function drawBranch(level, len, maxLevel, progress, t, index) { 7401 index.html

assistant

Created `/tmp/ws/index.html` — a self-contained p5.js procedural L-system fractal tree with: - Recursive branching and leaf generation - Gentle animated wind sway - Growth animation on load and regrow - Adjustable iteration depth - Adjustable wind strength - Atmospheric dark visual styling - No external resources beyond the provided `p5.min.js`

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-5.6-luna
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 partial

Static L-system tree renders nicely but shows no wind sway or idle animation; inputs mainly trigger text selection, not tree interaction.

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.1%
on click9.5%
on drag5.8%
on wheel2.5%
on enter + space1.5%
on arrow keys1.5%
on w/a/s/d9.3%
frame spread18.1 / 255
console errors0
js errors none

METRICS

runtime36.4s
tokens in12
tokens out3.0k
cached6.7k
cost / run$0.0119