oneshotlm
Compare all models on this prompt →

Lorenz attractor · muse-spark-1.2

Using the pre-provided three.min.js (global THREE), visualize the Lorenz attractor as a glowing 3D butterfly trajectory that draws over time, with orbit-drag camera controls.

⛨ sandboxed Open in new tab ↗
transcript · 8 messages
user

Using the pre-provided three.min.js (global THREE), visualize the Lorenz attractor as a glowing 3D butterfly trajectory that draws over time, with orbit-drag camera controls.

assistant
bash {"command":"ls -lh /tmp/ws && head -c 500 /tmp/ws/three.min.js"}
toolResult

total 592K -rw-r--r--. 1 node node 590K Aug 13 01:27 three.min.js /** * @license * Copyright 2010-2021 Three.js Authors * SPDX-License-Identifier: MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).THREE={})}(this,(function(t){"use strict";const e="128",n=100,i=300,r=301,s=302,a=303,o=304,l=306,c=307,h=1e3,u=1001,d=1002,p=1003,m=1004,f=1005,g=1006,v=1007,y=1008,x=1009,_=1012,w=1014,b=1015,M=1016,S=1020,T=102

assistant
write /tmp/ws/index.html (35268 bytes)
toolResult

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

assistant
bash {"command":"ls -lh /tmp/ws/index.html && wc -l /tmp/ws/index.html && grep -c \"three.min.js\" /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 35K Aug 13 01:28 /tmp/ws/index.html 666 /tmp/ws/index.html 1

assistant

Built `index.html` — self-contained Lorenz butterfly with `three.min.js` (global `THREE`): - **Physics**: RK4 integration of Lorenz equations (σ,ρ,β editable), 30k points, scaled & centered, z-up orientation - **Drawing over time**: incremental `BufferGeometry.setDrawRange` revealing trail at adjustable speed; scrub bar to seek, pause/play, clear/reset, looping - **Glowing butterfly**: additive `Line` core + wider translucent glow line + `Points` bloom + emissive head sphere + two PointLights colored by velocity/theme (velocity → brightness/saturation) - **Color themes**: Nebula / Sunset / Arctic / Inferno mapping t→HSL with velocity boost - **Orbit-drag**: custom OrbitControls (no imports) — drag to orbit, wheel/pinch zoom, right-drag pan, Shift-slow, double-click focus, auto-orbit toggle, damping - **Extras**: starfield, grid/axes, exponential fog toggle, trail persistence, glow/size sliders, snapshot export, FPS/polar stats

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

modelmuse-spark-1.2
vendorMeta
harnesspi-agent
generated2026-08-13

EVALUATION

3/5 partial

Lorenz butterfly trajectory draws and glows nicely; drag/wheel rotate camera but FPS drops sharply over time.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.4%
on click0.1%
on drag3.2%
on wheel3.2%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread28.8 / 255
console errors0
js errors none

METRICS

runtime58.8s
tokens in31k
tokens out15k
cached15k
cost / run$0.0831