oneshotlm
Compare all models on this prompt →

Lorenz attractor · glm-5.3

Output generated Cost / run $0.0150 Runtime 37.0s

Prompt for this run

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 ↗

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

modelglm-5.3
vendorZ.ai · GLM
harnesspi-agent
generated2026-08-27

METRICS

runtime37.0s
tokens in6.8k
tokens out2.4k
cached4.3k
cost / run$0.0150
Transcript · 6 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 /tmp/job-xTwFuu"}
toolResult

events.jsonl three.min.js

assistant
→ write /tmp/job-xTwFuu/index.html (6898 bytes)
toolResult

Successfully wrote 6898 bytes to /tmp/job-xTwFuu/index.html

assistant

Done — `index.html` is ready. It features: - **Lorenz system** (σ=10, ρ=28, β=8/3) integrated with RK-free Euler steps at dt=0.004, plotting up to 24,000 points that draw progressively each frame. - **Glowing butterfly**: vertex-colored trajectory (violet → cyan → white gradient along the curve) with additive blending, plus a scaled ghost copy and a pulsing glowing head sphere for a bloom-like effect. - **Orbit camera**: drag to rotate (pointer capture, clamped polar angle), scroll to zoom, gentle auto-rotation when idle. - **Extras**: subtle starfield backdrop, fog, and a "Redraw" button to restart from a new random seed.