oneshotlm
Compare all models on this prompt →

Rubik's Cube · gpt-4o-mini

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

modelgpt-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime13.8s
tokens in3.4k
tokens out1.1k
cached3.2k
cost / run$0.0009
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 (3794 bytes)
toolResult

Successfully wrote 3794 bytes to index.html

assistant

The interactive 3D Rubik's Cube has been successfully created and written to `index.html`. You can open this file in a web browser to see the cube, which includes clickable face rotations, an orbit-drag camera, and a scramble button.