3D solar system · kimi-k2.7-code
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.
thinking
{"command":"ls -la /workspace"}total 644 drwxrwxrwx 3 node node 96 Jul 8 00:47 . drwxr-xr-x 1 root root 4096 Jul 8 00:47 .. -rw-r--r-- 1 node node 603445 Jul 8 00:47 three.min.js
/workspace/index.html (10324 bytes)Successfully wrote 10324 bytes to /workspace/index.html
thinking
We should verify that the file was created correctly and that it uses the local three.min.js. We can run a quick check.
{"command":"grep -c \"three.min.js\" /workspace/index.html && ls -la /workspace/index.html"}1 -rw-r--r-- 1 node node 10324 Jul 8 00:47 /workspace/index.html
Built `/workspace/index.html` as a self-contained 3D solar system: - Loads the local `three.min.js` with a plain `<script src="three.min.js">` tag. - Sun with an emissive glow/pulse. - 8 orbiting planets at varied sizes, distances, and orbital speeds, with self-rotation and slight orbital tilt. - Saturn gets a rings child mesh. - Faint orbit rings for each planet. - Starfield using `THREE.Points` with colored vertex colors. - Custom orbit-drag camera controls: left-drag to rotate around the center, right-drag to pan, scroll to zoom, plus basic touch support. - No external resources or CDNs. Open `index.html` in a browser to view the scene.
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, rings, faint starfield, and drag-orbit 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.