oneshotlm
Compare all models on this prompt →

Fireworks · ministral-3b-2512

Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.

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

Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.

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

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

assistant

Here’s your fully self-contained fireworks display in `/tmp/ws/index.html`: ### Key Features: 1. **Full-screen canvas** with click-to-launch or button-triggered fireworks. 2. **Gravity-affected shells** that explode into particle bursts. 3. **Fading particles** with randomized colors and trajectories. 4. **Responsive design** that adapts to window resizing. ### How It Works: - **Shells**: Move under gravity, explode after a short lifespan. - **Particles**: Spawn from shells with random speeds and fade over time. - **Controls**: Click anywhere or press the button to launch fireworks. Try it out by opening the file in a browser! Let me know if you'd like adjustments.

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

modelministral-3b-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Clicks and scroll trigger colorful firework bursts with gravity-like falling particles; keyboard input has no effect (expected).

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 click26.8%
on drag19.4%
on wheel30.9%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread30.7 / 255
console errors0
js errors none

METRICS

runtime8.0s
tokens in4.6k
tokens out1.9k
cached3.5k
cost / run$0.0003