oneshotlm
Compare all models on this prompt →

3D solar system · qwen3.8-2.4t-a95b

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 · 8 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
thinking
Making a solar system with three.min.js. Features: sun with glow, planets with different sizes/speeds/orbits, orbital camera controls (custom drag — orbit around the scene), starfield (points). Single index.html.

Writing custom orbit controls: drag rotates the camera's azimuth/polar angle, wheel zooms. Starfield with THREE.Points. Planets with orbits, and possibly orbital rings, labels are optional. Keep it self-contained, no network needed.
bash {"command":"ls -la /tmp/ws && head -c 200 /tmp/ws/three.min.js"}
toolResult

total 592 drwxr-sr-x. 2 node node 26 Aug 13 01:33 . drwxrwsrwx. 3 root node 16 Aug 13 01:33 .. -rw-r--r--. 1 node node 603445 Aug 13 01:33 three.min.js /** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&de

assistant
thinking
Three.js exists (r1xx build). Write index.html.
write /tmp/ws/index.html (12762 bytes)
toolResult

Successfully wrote 12762 bytes to /tmp/ws/index.html

assistant
thinking
Confirm that there are no syntax errors and that three.min.js loads (global THREE). If node is available, do a quick check with node? Can't easily run WebGL, but at least parse the script. Extract the inline script and check the syntax with node --check.
bash {"command":"cd /tmp/ws && node -e \"\nconst fs=require('fs');\nconst html=fs.readFileSync('index.html','utf8');\nconst m=html.match(/<script
toolResult

inline script syntax OK src ref: true no http refs: true

assistant
thinking
Also, verify whether the THREE global is exposed in three.min.js — this is a UMD build that exports to the global THREE. No problem. Done.

Done — `/tmp/ws/index.html` is a fully self-contained solar system app (syntax verified, no network references, loads the local `three.min.js` via a plain script tag). **Features:** - **Sun** — glowing emissive sphere with layered additive-blended glow sprites (generated via canvas texture, no external assets), pulsing light intensity, and a central `PointLight` - **8 planets** — varied sizes, colors, orbit radii, orbital speeds, and spin rates; Saturn & Uranus get rings, Earth gets an orbiting moon; random starting angles - **Orbit lines** — subtle circular path rings for each planet, toggleable via button - **Camera controls** — custom orbit controls: drag to rotate (azimuth/polar with clamping), scroll wheel zoom, two-finger pinch zoom on touch - **Starfield** — ~5,000 colored points on two slowly counter-rotating spherical shells - **Extras** — hover a planet/sun for a name tooltip (raycasting), simulation speed slider (0–5×), FPS counter, responsive resize handling, HUD panel with styling

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

modelqwen3.8-2.4t-a95b
vendorQwen
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

3D solar system with sun, orbiting varied planets, starfield, orbit lines, and working drag/zoom camera 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.3%
on click2.1%
on drag2.4%
on wheel5.2%
on enter + space2.7%
on arrow keys1.7%
on w/a/s/d1.9%
frame spread23.8 / 255
console errors0
js errors none

METRICS

runtime64.1s
tokens in17k
tokens out5.3k
cached0
cost / run$0.0661