oneshotlm
Compare all models on this prompt →

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

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 · 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 -F"}
toolResult

three.min.js

assistant
thinking
**Focusing on Core Elements**

I'm currently streamlining the 3D environment. I've opted for a minimal approach, focusing solely on `three.min.js`. Consequently, I'm now tasked with implementing orbital camera controls (rotation/zoom) myself via mouse and wheel events since `OrbitControls.js` isn't available. The core scene is set up using `THREE.Scene`.


write index.html (3848 bytes)
toolResult

Successfully wrote 3848 bytes to index.html

assistant
bash {"command":"head -n 1 three.min.js"}
toolResult

/**

assistant

The 3D solar system has been created in `index.html`. It features: * A central sun. * Four orbiting planets at varying distances and speeds. * A starfield background. * Manual orbit/drag controls: click and drag to rotate the camera, scroll to zoom. No external files are required, and the dependencies are kept self-contained within the provided `three.min.js`. You can open `index.html` in any browser that supports WebGL.

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-preview
vendorGoogle
harnesspi-agent
generated2026-07-22

EVALUATION

3/5 working

3D solar system with sun, orbiting planets of varied sizes/colors, starfield, and mouse-drag/wheel/keyboard camera control.

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.5%
on click1.1%
on drag1.2%
on wheel4.8%
on enter + space2.4%
on arrow keys2.6%
on w/a/s/d2.0%
frame spread39 / 255
console errors0
js errors none

METRICS

runtime9.8s
tokens in9.7k
tokens out2.0k
cached0
cost / run$0.0054