oneshotlm
Compare all models on this prompt →

Fireworks · qwen3.7-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 · 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 single-page fireworks display web app in a single index.html file. It needs:
- Full-screen canvas
- Click to launch shells
- Shells explode into particle bursts
- Gravity affects particles
- Particles fade over time
- All CSS/JS inline, no external resources

Let me build this with good visuals and smooth animation.
write /tmp/ws/index.html (11015 bytes)
toolResult

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

assistant
thinking
The file has been written successfully. Let me verify it's there and looks correct.
bash {"command":"ls -la /tmp/ws/index.html && wc -l /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 11019 Aug 1 17:42 /tmp/ws/index.html 408 /tmp/ws/index.html

assistant
thinking
The file is written and ready. Let me provide a summary of what was created.

Done! `/tmp/ws/index.html` contains the complete fireworks display with: - **Click anywhere** on the canvas to launch a rocket shell that arcs upward then explodes at the target point - **4 explosion types** randomly chosen: Peony, Chrysanthemum (ringed), Willow (droopy trails), Starburst (ray-based) - **8 color palettes**: gold/red, blue/white, green/teal, purple/pink, multi, silver/rose, orange/copper, cyan/magenta - **Physics**: gravity pulls particles down, air drag slows them, fade-out over time - **Visual extras**: twinkling background stars, ascending trail particles with glow, crackle sub-bursts, central white flash on detonation, additive blending for realistic bloom - **Auto-launch**: idle fireworks fire automatically every 1.8–3.5 seconds so you never stare at a blank sky - **Touch support**: works on mobile too - **Zero external dependencies** — fully sandboxed

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.7-flash
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Auto-launching fireworks with colorful gravity-affected particle bursts; clicks trigger extra shells, keyboard has no effect.

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.6%
on click16.4%
frame spread36.4 / 255
console errors0
js errors none

METRICS

runtime29.7s
tokens in13k
tokens out4.4k
cached0
cost / run$0.0010