L-system tree · nova-2-lite-v1
Output generated Cost / run $0.0243 Runtime 48.4s
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.
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
METRICS
Transcript · 4 messages
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.
thinking
[REDACTED].
index.html (3684 bytes)Successfully wrote 3684 bytes to index.html
thinking
[REDACTED].
I've created `index.html` containing a complete procedural L-system fractal tree implementation using p5.js. The tree: 1. Grows recursively using L-system rules (F → F[+F]F[-F]F) 2. Features gentle wind sway through dynamic angle modulation 3. Renders with blue branches that taper naturally 4. Centers itself in the viewport and responds to window resizing The implementation uses only the provided `p5.min.js` with no external resources. Open `index.html` in a modern browser to see the animated fractal tree swaying in a simulated wind.