oneshotlm
Compare all models on this prompt →

Fireworks · qwen3.5-397b-a17b

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 me to create a single-page web app with a fireworks display. Let me plan this out:

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

I'll create a self-contained index.html with:
- CSS for full-screen canvas styling
- JavaScript for the fireworks animation logic
- No external dependencies

Let me write this all in one file.
write /tmp/ws/index.html (11246 bytes)
toolResult

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

assistant
thinking
I've created the fireworks display web app. Let me verify the file exists.

Done! Created `index.html` with a complete fireworks display featuring: - **Full-screen canvas** with black background - **Click/tap anywhere** to launch firework shells from the bottom - **Physics-based particles** with gravity, friction, and fading - **Multiple explosion patterns** (circular, random spread, double ring) - **Colorful palettes** with 8 different color schemes - **Trail effects** on rising shells and fading particles - **Twinkle effect** on some particles - **Glow effects** using canvas shadows - **Auto-launch** occasional fireworks for ambient display - **Touch support** for mobile devices - **3 starter fireworks** on page load Open `index.html` in a browser and click anywhere to create 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

modelqwen3.5-397b-a17b
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Fireworks with colorful gravity-affected particle bursts launch automatically and respond to clicks; radial glow and fading trails look polished.

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 motion14.6%
on click19.6%
on drag8.0%
on wheel12.7%
on enter + space10.6%
on arrow keys12.8%
on w/a/s/d9.4%
frame spread28.8 / 255
console errors0
js errors none

METRICS

runtime42.2s
tokens in6.0k
tokens out3.0k
cached0
cost / run$0.0093