oneshotlm
Compare all models on this prompt →

Rubik's Cube · mistral-large-2512

Output generated Cost / run $0.0072 Runtime 36.8s

Prompt for this run

Using the pre-provided three.min.js (global THREE), render an interactive 3D Rubik's Cube with clickable face rotations, orbit-drag camera, and a scramble button.

⛨ 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-large-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime36.8s
tokens in5.7k
tokens out2.9k
cached0
cost / run$0.0072
Transcript · 4 messages
user

Using the pre-provided three.min.js (global THREE), render an interactive 3D Rubik's Cube with clickable face rotations, orbit-drag camera, and a scramble button.

assistant
→ write index.html (10490 bytes)
toolResult

Successfully wrote 10490 bytes to index.html

assistant

The interactive 3D Rubik's Cube is ready in `/tmp/ws/index.html`. Open it in a browser to: - **Rotate faces** by clicking any cubie on a face (the entire layer will rotate in that direction) - **Orbit the camera** by clicking and dragging anywhere - **Scramble the cube** using the button in the top-left corner The app is fully self-contained and uses only the pre-provided `three.min.js`. No network requests are made.