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.
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 · 6 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.
{"command":"ls -l"}total 1012 -rw-r--r--. 1 node node 1034532 Aug 1 20:13 p5.min.js
index.html (1016 bytes)Successfully wrote 1016 bytes to index.html
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.