oneshotlm
Compare all models on this prompt →

Lorenz attractor · qwen3-coder

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 · 4 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

I'll create a self-contained HTML file that visualizes the Lorenz attractor using Three.js. The visualization will show a glowing butterfly-shaped trajectory that draws over time with interactive camera controls.

write index.html (6858 bytes)
toolResult

Successfully wrote 6858 bytes to index.html

assistant

I've created a self-contained HTML file that visualizes the Lorenz attractor using Three.js. The visualization features: 1. A glowing 3D butterfly-shaped trajectory that draws over time 2. Interactive orbit-drag camera controls (drag to rotate, scroll to zoom) 3. Color transition from blue to red along the trajectory 4. Responsive design that adapts to window resizing 5. Informative UI elements The lorenz equations are implemented with the classic parameters (sigma=10, rho=28, beta=8/3) and the trajectory is drawn incrementally to show the attractor's evolution over time. To view the visualization: 1. Save the generated index.html file 2. Make sure three.min.js is in the same directory 3. Open index.html in a modern web browser The attractor will start drawing immediately, creating the characteristic butterfly shape. You can interact with the visualization by dragging to rotate the view and scrolling to zoom in/out.

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-coder
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Glowing Lorenz attractor butterfly draws over time and orbit-drag camera controls rotate/zoom view correctly.

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.0%
on click3.7%
on drag5.3%
on wheel1.9%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread5.8 / 255
console errors0
js errors none

METRICS

runtime14.4s
tokens in1.2k
tokens out1.8k
cached3.9k
cost / run$0.0025