oneshotlm
Compare all models on this prompt →

Fireworks · minimax-m2.1

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 · 6 messages
user

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

assistant
thinking
The user wants a fireworks display web app with:
- Full-screen canvas
- Click to launch shells
- Explode into particle bursts
- Gravity-affected particles
- Fading particles

I'll create a single HTML file with embedded CSS and JS that creates this interactive fireworks experience.
write /tmp/ws/index.html (8524 bytes)
toolResult

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

assistant
thinking
I've created the fireworks display. Let me verify the file was created correctly.
bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 8524 Aug 1 19:58 /tmp/ws/index.html

assistant
thinking
The file has been created successfully. It's a self-contained HTML file with:
- Full-screen canvas
- Click to launch fireworks
- Shell projectiles that fly upward with trails
- Explosion particles with gravity and friction
- Fading particles with glow effects
- Sparkle particles for extra visual effect
- Trail effect on background for visual continuity
- Automatic demo fireworks on load

The code is complete and should work as expected.

Done! I've created `index.html` with a complete fireworks display. Features: - **Click anywhere** to launch a fireworks shell that flies upward - **Shell trails** - colorful trails follow the projectile as it rises - **Explosion bursts** - shells explode into 80-120 particles with varied hues - **Gravity physics** - particles are affected by gravity and slow down via friction - **Fading particles** - particles gradually fade out with decay - **Glow effects** - explosion particles have a subtle glow - **Sparkle particles** - some extra twinkling particles for added visual interest - **Trail background** - slight trail effect on the background for visual continuity - **Auto-launch** - a few demo fireworks launch automatically on page load The app uses no external resources - everything is self-contained in the single HTML file.

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

modelminimax-m2.1
vendorMiniMax
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Fireworks auto-launch and clicks/drags spawn colorful particle bursts with gravity-like fade; keyboard input has no effect as 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 motion6.8%
on click1.8%
on drag3.7%
on wheel0.4%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread18.8 / 255
console errors0
js errors none

METRICS

runtime23.6s
tokens in824
tokens out2.3k
cached7.6k
cost / run$0.0032