oneshotlm
Compare all models on this prompt →

3D solar system · nova-2-lite-v1

Output generated Cost / run $0.0627 Runtime 140.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

modelnova-2-lite-v1
vendorAmazon · Nova
harnesspi-agent
generated2026-08-01

METRICS

runtime140.0s
tokens in22k
tokens out22k
cached0
cost / run$0.0627
Transcript · 14 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
[REDACTED].
→ bash {"command":"ls -l"}
toolResult

total 592 -rw-r--r--. 1 node node 603445 Aug 1 20:46 three.min.js

assistant
thinking
[REDACTED].
→ read {"path":"three.min.js","limit":500}
toolResult

/** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ [Showing lines 1-5 of 7 (50.0KB limit). Use offset=6 to continue.]

assistant
thinking
[REDACTED].
→ bash {"command":"grep -n \"OrbitControls\" three.min.js"}
toolResult

(no output) Command exited with code 1

assistant
thinking
[REDACTED].
→ bash {"command":"grep -i \"orbit\" three.min.js"}
toolResult

(no output) Command exited with code 1

assistant
thinking
[REDACTED].
→ write index.html (5308 bytes)
toolResult

Successfully wrote 5308 bytes to index.html

assistant
thinking
[REDACTED].
→ write index.html (6917 bytes)
toolResult

Successfully wrote 6917 bytes to index.html

assistant
thinking
[REDACTED].

✅ **index.html** is now ready! It includes: - **3D Solar System**: Sun + 8 planets with varied sizes/distances/speeds - **Procedural Starfield**: 15,000 stars in a sphere - **Orbit-Drag Controls**: - Left-click drag to rotate view - Scroll to zoom in/out (200–5000 units) - **Lighting**: Ambient + sun point light - **Responsive**: Adjusts to window resize **To view**: Open `index.html` in any modern browser. The scene runs entirely client-side with no external resources.