oneshotlm
Compare all models on this prompt →

3D solar system · kat-coder-pro-v2

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.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

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.

assistant

I'll create a 3D solar system with the sun, orbiting planets, camera controls, and a starfield. Let me build this step by step.

write /workspace/index.html (17520 bytes)
toolResult

Successfully wrote 17520 bytes to /workspace/index.html

assistant
bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 17524 Jul 31 08:53 /workspace/index.html

assistant

I've created a complete 3D solar system application in a single `index.html` file. The app features: **3D Elements:** - Glowing sun at the center with a subtle glow effect - 8 planets (Mercury through Neptune) with accurate relative sizes and colors - Saturn includes its iconic ring system - Starfield background with 10,000 stars - Orbit paths for each planet **Interactivity:** - **Mouse drag** to rotate the camera around the solar system - **Mouse wheel** to zoom in/out - **Touch support** for mobile devices (drag to rotate, pinch to zoom) - **Click on planets** to view detailed information about each planet - **Toggle buttons** to show/hide orbit paths and planet labels - **Reset view** button to return to default camera position **Visual Features:** - Realistic planet colors and sizes (scaled for visibility) - Different orbital speeds (Mercury fastest, Neptune slowest) - Planet labels that follow their positions in 3D space - Information panel showing planet details when clicked - Responsive design that adapts to window size The application runs entirely in the browser with no external dependencies beyond the provided three.min.js. Just open `index.html` in any modern web browser to explore the solar system!

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

modelkat-coder-pro-v2
vendorKwaipilot
harnesspi-agent
generated2026-07-31

EVALUATION

4/5 working

3D solar system with sun, orbiting planets of varied sizes, orbit paths, starfield, and functioning zoom/drag controls.

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.

idle motion2.7%
on click3.1%
on drag5.0%
on wheel33.0%
on enter + space1.1%
on arrow keys3.5%
on w/a/s/d3.9%
frame spread76.3 / 255
console errors0
js errors none

METRICS

runtime54.2s
tokens in15k
tokens out4.9k
cached8.2k
cost / run$0.0084