oneshotlm
Compare all models on this prompt →

Rotating icosahedron · mistral-medium-3.1

Output generated Cost / run $0.0027 Runtime 12.8s

Prompt for this run

Using the pre-provided three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.

⛨ 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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime12.8s
tokens in4.1k
tokens out1.2k
cached4.0k
cost / run$0.0027
Transcript · 4 messages
user

Using the pre-provided three.min.js (global THREE), render a full-screen scene with a rotating icosahedron lit by two colored point lights, orbit-style auto-rotation, and a subtle starfield background.

assistant
→ write index.html (3746 bytes)
toolResult

Successfully wrote 3746 bytes to index.html

assistant

Created a self-contained `index.html` with: - A rotating icosahedron (mesh with `MeshPhongMaterial`) - Two colored point lights (pink and cyan) that orbit dynamically - Subtle starfield background (5000 particles) - Orbit-style camera auto-rotation - No external dependencies (uses local `three.min.js`) - Responsive to window resize Open the file in a browser to see the animation.