oneshotlm
Compare all models on this prompt →

3D solar system · mercury-2

Output generated Cost / run $0.0026 Runtime 7.1s

Prompt for this run

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 ↗

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

modelmercury-2
vendorInception
harnesspi-agent
generated2026-08-01

METRICS

runtime7.1s
tokens in6.4k
tokens out2.0k
cached2.1k
cost / run$0.0026
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
→ bash {"command":"ls -R"}
toolResult

.: three.min.js

assistant
→ write index.html (4948 bytes)
toolResult

Successfully wrote 4948 bytes to index.html

assistant

The **index.html** file has been created in the current directory. It includes: * Three.js (loaded from the provided `three.min.js`). * A starfield background. * A sun with emissive material and point light. * Eight planets with varied sizes, distances, orbital speeds, and colors. * Simple drag‑to‑rotate camera controls (mouse drag rotates around the scene). * Responsive resizing. You can open `index.html` in a browser (no network access needed) to see the 3D solar system.