oneshotlm
Compare all models on this prompt →

Fireworks · deepseek-v4-flash

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
thinking
The user wants a self-contained HTML file with a full-screen canvas fireworks display. Let me build this with:

1. Full-screen canvas
2. Click to launch fireworks shells
3. Shells explode into particles
4. Particles affected by gravity
5. Particles fade out over time

Let me write this as a single index.html file.
write /workspace/index.html (7683 bytes)
toolResult

Successfully wrote 7683 bytes to /workspace/index.html

assistant

The file is ready at `/workspace/index.html`. Here's what it creates: **Full-screen fireworks display** with these features: - **Click to launch** – clicking anywhere on the canvas fires 1–3 shells toward that point - **Shells** – rise from the bottom with a glowing trail, then explode on reaching the target - **Three explosion types** (randomly chosen per shell): - **Sphere** – uniform burst in all directions - **Ring** – faster, thinner particles that spread outward - **Willow** – slower, heavier particles that fall gracefully with long trails - **Physics** – each particle has gravity pulling it down, velocity fading (air resistance), and a decay rate controlling how quickly it fades out - **Colour palettes** – 6 vibrant palettes randomly selected per shell, with a glow effect on bright particles - **Twinkling background stars** – 200 stars with subtle twinkle animation - **Auto-launch** – shells fire automatically every ~2–6 seconds so the sky stays active - **Trail fade** – the background is drawn with a semi-transparent black overlay each frame for natural motion blur / trails - **Responsive** – handles window resize and orientation changes Open `index.html` in any browser and click around to launch fireworks!

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

modeldeepseek-v4-flash
vendorDeepSeek
harnesspi-agent
generated2026-07-08

EVALUATION

4/5 working

Fireworks launch automatically and on click, with colorful particle bursts fading and falling under gravity.

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 motion3.1%
on click4.5%
on drag1.8%
on wheel2.2%
on enter + space1.1%
on arrow keys1.5%
on w/a/s/d2.2%
frame spread10.4 / 255
console errors0
js errors none

METRICS

runtime43.1s
tokens in4.9k
tokens out3.1k
cached1.0k
cost / run$0.0010