Rotating icosahedron · glm-4.7
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.
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.
thinking
The user wants me to create a single-page web app with a Three.js scene that includes: 1. Full-screen scene 2. A rotating icosahedron 3. Two colored point lights 4. Orbit-style auto-rotation 5. A subtle starfield background 6. All in one index.html file with inline CSS and JS 7. Using the provided three.min.js file (no CDN) Let me create this index.html file now.
I'll create a full-screen Three.js scene with a rotating icosahedron, two colored point lights, auto-rotation, and a starfield background.
index.html (5209 bytes)Successfully wrote 5209 bytes to index.html
thinking
I've created the index.html file with all the requested features: 1. Full-screen Three.js scene using the provided three.min.js 2. A rotating icosahedron with flat shading and a wireframe overlay 3. Two colored point lights (cyan and magenta) that orbit around the icosahedron 4. Orbit-style auto-rotation (the camera orbits around the center) 5. A subtle starfield background with 3000 stars that slowly rotates The file is completely self-contained with inline CSS in a <style> tag and inline JavaScript in a <script> tag. It uses only the local three.min.js file without any external CDNs or network requests.
Done! I've created `index.html` with a full-screen Three.js scene featuring: - **Rotating icosahedron** with flat shading and a subtle wireframe overlay - **Two colored point lights**: cyan and magenta, orbiting around the icosahedron - **Orbit-style auto-rotation**: the camera smoothly orbits around the center - **Starfield background**: 3000 stars with subtle slow rotation - All CSS and JS inline, using only the local `three.min.js` file The scene runs completely offline with no external dependencies.
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
Rotating icosahedron with blue/purple point lights and faint starfield rotates continuously but small and off-center.
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.