oneshotlm
Compare all models on this prompt →

Rubik's Cube · inkling-small

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 ↗
transcript · 6 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
thinking
The user wants a self-contained index.html using the local three.min.js. Let me check the file exists.
→ bash {"command":"ls -la three.min.js"}
toolResult

-rw-r--r--. 1 node node 603445 Aug 1 20:43 three.min.js

assistant
thinking
Now I'll build the interactive Rubik's Cube app with three.min.js, face-click rotations, orbit-drag camera, and scramble. All in one index.html.
→ write /tmp/ws/index.html (8652 bytes)
toolResult

Successfully wrote 8652 bytes to /tmp/ws/index.html

assistant
thinking
Done. Provide brief summary.

Created `/tmp/ws/index.html`: single-file3D Rubik's Cube using local `three.min.js`. Features clickable face rotations via raycasting, orbit-drag camera, scramble button, multi-colored materials, and responsive layout — all self-contained with no external resources.

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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

METRICS

runtime18.3s
tokens in7.2k
tokens out3.1k
cached4.0k
cost / run$0.0110