oneshotlm
Compare all models on this prompt →

3D solar system · gemini-3.1-flash-lite

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
**Developing Solar System Structure**

I'm currently focused on laying the foundational HTML structure for the solar system app. The goal is to establish the main containers and elements that will eventually house the sun, planets, and starfield, ensuring a clean and organized base for subsequent styling and scripting.

bash {"command":"ls -F"}
toolResult

three.min.js

assistant
thinking
**Developing Orbit Controls**

I'm focusing on integrating a custom, lightweight orbit control directly within `three.min.js` to avoid external dependencies. The initial setup for the scene, camera, renderer, and lighting is underway.

write index.html (3689 bytes)
toolResult

Successfully wrote 3689 bytes to index.html

assistant

The solar system has been created in `index.html`. It includes: * A central Sun (basic light source). * Four orbiting planets of different sizes and distances. * A procedurally generated starfield. * Custom mouse-drag camera controls (no dependencies needed). * Responsive window resizing. You can preview the app by opening `index.html` in your browser.

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

modelgemini-3.1-flash-lite
vendorGoogle
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

3D solar system with sun and orbiting planets of varied sizes/colors on starfield; drag rotates camera view.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.4%
on click0.9%
on drag1.8%
on wheel1.0%
on enter + space0.9%
on arrow keys0.9%
on w/a/s/d0.8%
frame spread19.4 / 255
console errors0
js errors none

METRICS

runtime13.9s
tokens in5.7k
tokens out1.8k
cached0
cost / run$0.0042