oneshotlm
Compare all models on this prompt →

L-system tree · mercury-2

Output generated Cost / run $0.0013 Runtime 3.7s

Prompt for this run

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 ↗

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime3.7s
tokens in5.1k
tokens out606
cached1.9k
cost / run$0.0013
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 -l"}
toolResult

total 1012 -rw-r--r--. 1 node node 1034532 Aug 1 20:13 p5.min.js

assistant
→ write index.html (1016 bytes)
toolResult

Successfully wrote 1016 bytes to index.html

assistant

The **index.html** file has been created. It loads the provided `p5.min.js` library and implements a procedural L‑system‑style fractal tree that branches recursively and gently sways using Perlin noise to simulate wind. Open the file in a browser to see the animation.