3D solar system · kat-coder-air-v2.5
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 · 6 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 -la /tmp/ws/"}total 592 drwxr-sr-x. 2 node node 26 Aug 1 20:47 . drwxrwsrwx. 3 root node 16 Aug 1 20:47 .. -rw-r--r--. 1 node node 603445 Aug 1 20:47 three.min.js
/tmp/ws/index.html (12252 bytes)Successfully wrote 12252 bytes to /tmp/ws/index.html
I've created a complete 3D solar system in a single `index.html` file. Here's what's included: **Features:** - **Sun** with a glowing sprite effect at the center - **8 planets** (Mercury through Neptune) with: - Varied sizes and orbital distances - Different orbital speeds (inner planets faster, outer slower) - Visible orbital path lines - Axial tilt - Saturn's rings - Earth's orbiting moon - **Starfield** with 8,000 stars in varying colors (blue-white, yellow, orange-red) - **Orbit controls**: drag to rotate the camera, scroll to zoom in/out - **Touch support** for mobile (drag to rotate, pinch to zoom) - **Smooth damping** on camera rotation - **Responsive** - handles window resizing The file loads `three.min.js` from the local directory and contains all CSS and JavaScript inline. No external resources or network requests needed.
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/speeds, starfield, and drag/wheel camera control working.
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.