oneshotlm
Compare all models on this prompt →

L-system tree · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0006 Runtime 8.3s

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

modelgpt-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime8.3s
tokens in2.9k
tokens out483
cached1.5k
cost / run$0.0006
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
→ write index.html (1309 bytes)
toolResult

Successfully wrote 1309 bytes to index.html

assistant

The procedural L-system fractal tree has been created and written into `index.html`. You can find the complete code in it, which includes the tree branching recursively and gentle sway.