oneshotlm
Compare all models on this prompt →

Lorenz attractor · mistral-medium-3.1

Output generated Cost / run $0.0059 Runtime 26.3s

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime26.3s
tokens in5.4k
tokens out2.7k
cached4.5k
cost / run$0.0059
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
→ write index.html (9175 bytes)
toolResult

Successfully wrote 9175 bytes to index.html

assistant

I've created a self-contained `index.html` file that visualizes the Lorenz attractor as a glowing 3D butterfly trajectory using Three.js. The visualization includes: 1. **Interactive 3D Rendering**: - Glowing blue trail that draws over time - Orbit controls (drag to rotate, scroll to zoom) - Additive blending for glow effects 2. **Customizable Parameters**: - Adjustable Lorenz system parameters (σ, ρ, β) - Speed control for the animation - Trail length adjustment - Reset view and clear trail buttons 3. **Visual Effects**: - Color gradient along the trail - Glow shader for the butterfly effect - Smooth camera controls with damping The file is completely self-contained with all CSS and JavaScript inline, and it loads the pre-provided `three.min.js` file. Simply open the `index.html` file in a modern browser to see the Lorenz attractor come to life as a glowing 3D butterfly pattern.