L-system tree · qwen3-vl-235b-a22b-instruct
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.
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.
I'll create a self-contained HTML file with a procedural L-system fractal tree that branches recursively and sways gently in the wind using p5.js.
index.html (3583 bytes)Successfully wrote 3583 bytes to index.html
I've created a self-contained HTML file with a procedural L-system fractal tree that branches recursively and sways gently in the wind using p5.js. The tree is implemented using an L-system with the axiom "F" and rule "F[+F]F[-F]F", which creates a branching structure. The wind effect is simulated by adding a sinusoidal variation to the branch angles and lengths, creating a gentle swaying motion. The tree is drawn with green strokes and grows from the bottom center of the canvas upward. The animation runs at 60 FPS, and the canvas resizes to fit the window.
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
EVALUATION
A branching L-system tree grows and sways subtly, but tree extends off-canvas edges and inputs cause no visible change.
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.