oneshotlm
Compare all models on this prompt →

3D solar system · gpt-4.1-mini

Output generated Cost / run $0.0042 Runtime 25.0s

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

modelgpt-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime25.0s
tokens in4.3k
tokens out2.0k
cached2.2k
cost / run$0.0042
Transcript · 4 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 will create a single self-contained index.html file that includes: - A 3D solar system with the sun and multiple planets of different sizes and speeds orbiting the sun. - Orbit drag controls for the camera. - A starfield background. - Use the pre-existing three.min.js by including <script src="three.min.js"></script>. I will build this in the index.html.

→ write index.html (5513 bytes)
toolResult

Successfully wrote 5513 bytes to index.html

assistant

I have created index.html with a 3D solar system scene using three.min.js. It features the sun, orbiting planets with varied sizes and speeds, a starfield background, and drag orbit camera controls with zoom. You can open index.html in a browser to see it in action. Let me know if you want any changes or additions!