oneshotlm
Compare all models on this prompt →

Fireworks · minimax-m2.7

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 with:
1. Full-screen canvas
2. Click to launch shells
3. Explode into particle bursts
4. Gravity-affected particles
5. Fading particles

Let me create a single HTML file with an immersive fireworks experience.
write /workspace/index.html (6099 bytes)
toolResult

Successfully wrote 6099 bytes to /workspace/index.html

assistant
thinking
I've created a fireworks display. Let me verify it was written correctly by checking the file exists.
bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 6099 Jul 8 00:54 /workspace/index.html

assistant
thinking
The file is created successfully. Let me provide a summary of what was built.

Done! **`/workspace/index.html`** is ready. Here's what's in it: - **Full-screen canvas** that auto-resizes to any window size - **Click / tap** anywhere to launch a firework shell upward - **Gravity** pulls both shells and sparks downward - **Particle bursts** explode into 80–130 sparks with randomized colors, angles, and speeds - **Occasional ring burst** — a white ring of sparks added with ~35% probability - **Motion trails** — faint sparks trail behind each rising shell - **Fade & drag** — particles slow and fade over time - **Auto-show** — fireworks launch automatically every 1–3 seconds so the screen is never empty - **Touch support** for mobile devices - **No external resources** — fully self-contained

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.7
vendorMiniMax
harnesspi-agent
generated2026-07-08

EVALUATION

4/5 working

Fireworks auto-launch and explode with colorful gravity-affected particle bursts; clicks add extra shells, looks good.

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 motion2.5%
on click3.2%
on drag2.5%
on wheel2.0%
on enter + space2.5%
on arrow keys1.4%
on w/a/s/d2.3%
frame spread12.2 / 255
console errors0
js errors none

METRICS

runtime7.6s
tokens in542
tokens out2.3k
cached8.2k
cost / run$0.0024