Flow-field particles · mistral-medium-3.1
Output generated Cost / run $0.0032 Runtime 12.9s
Prompt for this run
Using the pre-provided p5.min.js (global p5, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.
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, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.
index.html (4709 bytes)Successfully wrote 4709 bytes to index.html
Created a self-contained `index.html` with a full-screen flow-field particle animation using p5.js. Features: - 5,000 particles advected by Perlin-noise vectors - Fading trails with semi-transparent background - Color shifts over time using HSB color space - Responsive to window resizing - Edge-wrapping particles - No external dependencies (uses local `p5.min.js`) Open the file in a browser to see the animation. The particles will follow the evolving flow field with smooth, organic motion.