oneshotlm
Compare all models on this prompt →

Rotating icosahedron · llama-4-scout

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.

⚠ no runnable output

This one-shot run produced no runnable artifact.

agent produced no index.html

The transcript below shows what the model did — read it to see why the one shot fell short.

transcript · 2 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

[/tmp/ws]$ read three.min.js ```javascript // ... (content of three.min.js, a minified JavaScript file) ``` [/tmp/ws]$ write index.html ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <title>Rotating Icosahedron with Starfield</title> <style> body { margin: 0; background-color: #000; overflow: hidden; } #canvas { width: 100%; height: 100vh; display: block; } </style> </head> <body> <script src="three.min.js"></script> <script> let camera, scene, renderer, icosahedron, starfield; function init() { // Create the scene and camera scene = new THREE.Scene(); scene.background = new THREE.Color(0x000000); camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); camera.position.z = 5; // Create the renderer renderer = new THREE.WebGLRenderer({ canvas: document.createElement('canvas'), antialias: true }); renderer.setSize(window.innerWidth, window.innerHeight); document.body.appendChild(renderer.domElement); // Create the icosahedron const geometry = new THREE.IcosahedronGeometry(1, 1); const material = new THREE.MeshPhongMaterial({ color: 0xffffff }); icosahedron = new THREE.Mesh(geometry, material); scene.add(icosahedron); // Create two point lights const light1 = new THREE.PointLight(0xff0000, 1, 10); light1.position.set(5, 5, 5); scene.add(light1); const light2 = new THREE.PointLight(0x0000ff, 1, 10); light2.position.set(-5, -5, -5); scene.add(light2); // Create the starfield starfield = new THREE.Group(); for (let i = 0; i < 100; i++) { const starGeometry = new THREE.SphereGeometry(0.1, 8, 8); const starMaterial = new THREE.MeshBasicMaterial({ color: 0xffffff }); const star = new THREE.Mesh(starGeometry, starMaterial); star.position.x = (Math.random() * 2 - 1) * 10; star.position.y = (Math.random() * 2 - 1) * 10; star.position.z = (Math.random() * 2 - 1) * 10; starfield.add(star); } scene.add(starfield); // Add orbit controls const controls = new THREE.OrbitControls(camera, renderer.domElement); controls.enableDamping = true; // Animate the scene animate(); window.addEventListener('resize', onWindowResize); } function on() { camera.aspect =Width / window.innerHeight camera.updateProjectionMatrix(); renderer.setSize(window.innerWidth, window); } function animate() { requestAnimationFrame( icosahedron += 0.01; icosahedron.rotation.y += 0.01; renderer.render(scene, camera); } </script> </body> </html> ```

TAKE IT TO CODE

This run produced no artifact — reuse the prompt with a different model or your own pi-agent run.

RUN

modelllama-4-scout
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime8.1s
tokens in1.6k
tokens out799
cached0
cost / run$0.0004