oneshotlm
Compare all models on this prompt →

Rotating icosahedron · qwen3-vl-32b-instruct

Output generated Cost / run $0.0013 Runtime 14.9s

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

modelqwen3-vl-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime14.9s
tokens in7.6k
tokens out1.2k
cached0
cost / run$0.0013
Transcript · 8 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
→ read {"path":"three.min.js"}
toolResult

/** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ [Showing lines 1-5 of 7 (50.0KB limit). Use offset=6 to continue.]

assistant
→ bash {"command":"ls -la"}
toolResult

total 592 drwxr-sr-x. 2 node node 26 Aug 1 20:50 . drwxrwsrwx. 3 root node 16 Aug 1 20:50 .. -rw-r--r--. 1 node node 603445 Aug 1 20:50 three.min.js

assistant
→ write index.html (2857 bytes)
toolResult

Successfully wrote 2857 bytes to index.html

assistant

I've created a single-page web application with the following features: 1. A full-screen scene using Three.js 2. A rotating icosahedron with a blue-purple color and shiny material 3. Two colored point lights (red and blue) positioned to illuminate the icosahedron 4. Orbit-style auto-rotation of the camera around the origin 5. A subtle starfield background with 10,000 randomly placed white stars The application is self-contained in index.html with: - CSS for styling (full screen, black background) - JavaScript for rendering using the provided three.min.js library - No external resources or network requests The icosahedron rotates continuously on both X and Y axes, while the camera orbits around the origin, creating an engaging visual effect. The starfield provides a cosmic backdrop to the scene. The file has been written to the current directory as requested.