3D solar system · gemini-3.1-flash-lite-preview
Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.
transcript · 8 messages
Using the pre-provided three.min.js (global THREE), build a 3D solar system with the sun and orbiting planets at varied speeds and sizes, orbit-drag camera controls, and a starfield.
{"command":"ls -F"}three.min.js
thinking
**Focusing on Core Elements** I'm currently streamlining the 3D environment. I've opted for a minimal approach, focusing solely on `three.min.js`. Consequently, I'm now tasked with implementing orbital camera controls (rotation/zoom) myself via mouse and wheel events since `OrbitControls.js` isn't available. The core scene is set up using `THREE.Scene`.
index.html (3848 bytes)Successfully wrote 3848 bytes to index.html
{"command":"head -n 1 three.min.js"}/**
The 3D solar system has been created in `index.html`. It features: * A central sun. * Four orbiting planets at varying distances and speeds. * A starfield background. * Manual orbit/drag controls: click and drag to rotate the camera, scroll to zoom. No external files are required, and the dependencies are kept self-contained within the provided `three.min.js`. You can open `index.html` in any browser that supports WebGL.
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
3D solar system with sun, orbiting planets of varied sizes/colors, starfield, and mouse-drag/wheel/keyboard camera control.
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.