oneshotlm
Compare all models on this prompt →

3D solar system · glm-5.3

Output generated Cost / run $0.0160 Runtime 62.6s

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

modelglm-5.3
vendorZ.ai · GLM
harnesspi-agent
generated2026-08-28

METRICS

runtime62.6s
tokens in11k
tokens out2.4k
cached8.1k
cost / run$0.0160
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
→ bash {"command":"ls /tmp/job-978rYI"}
toolResult

events.jsonl three.min.js

assistant
→ write /tmp/job-978rYI/index.html (6889 bytes)
toolResult

Successfully wrote 6889 bytes to /tmp/job-978rYI/index.html

assistant
→ bash {"command":"ls -la /tmp/job-978rYI/index.html && grep -c \"three.min.js\" /tmp/job-978rYI/index.html"}
toolResult

-rw-r--r-- 1 node node 6889 Aug 28 00:33 /tmp/job-978rYI/index.html 1

assistant

Done — `index.html` is in place (self-contained, loads the local `three.min.js`, no external resources). **What it includes:** - **Sun**: glowing yellow sphere with a pulsing corona and a point light at the center - **8 planets**: Mercury → Neptune with varied sizes, orbit radii, and speeds (inner planets orbit fast, outer ones slow); Saturn gets a tilted ring; Earth is blue, Mars red, etc. - **Orbit rings**: faint circular orbit paths for each planet - **Starfield**: 3000 procedurally placed stars on a distant sphere - **Camera controls**: drag (mouse or touch) to orbit around the system, scroll wheel to zoom, with clamped polar angle and zoom range