oneshotlm
Compare all models on this prompt →

3D solar system · inkling-small

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
thinking
The user wants a 3D solar system using the pre-provided three.min.js. Let me check the file and build index.html.
→ bash {"command":"ls -la three.min.js"}
toolResult

-rw-r--r--. 1 node node 603445 Aug 1 20:47 three.min.js

assistant
thinking
Now I'll create the single index.html with embedded CSS/JS, using THREE from the local file. I'll include sun, planets with varied orbit sizes/speeds, orbit-drag camera controls (OrbitControls via the library if available, else custom drag), and a starfield. Since OrbitControls might not be in three.min.js standalone, I'll implement basic drag-to-rotate camera manually for reliability.
→ write index.html (5695 bytes)
toolResult

Successfully wrote 5695 bytes to index.html

assistant
thinking
Done. Confirmed index.html exists, uses three.min.js locally, no external resources. Provide brief summary.

Created `index.html` — a single-file3D solar system using the local `three.min.js`. It features the glowing sun,8 orbiting planets at varied distances/speeds/sizes, orbit ring visuals, a starfield, drag-to-orbit camera with scroll zoom, and an animated sun glow. All CSS and JS are inline; no external URLs used.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

METRICS

runtime13.8s
tokens in6.4k
tokens out2.3k
cached4.0k
cost / run$0.0082