Rotating icosahedron · mistral-medium-3.1
Output generated Cost / run $0.0027 Runtime 12.8s
Prompt for this run
Using the pre-provided three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.
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 three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.
index.html (3746 bytes)Successfully wrote 3746 bytes to index.html
Created a self-contained `index.html` with: - A rotating icosahedron (mesh with `MeshPhongMaterial`) - Two colored point lights (pink and cyan) that orbit dynamically - Subtle starfield background (5000 particles) - Orbit-style camera auto-rotation - No external dependencies (uses local `three.min.js`) - Responsive to window resize Open the file in a browser to see the animation.