oneshotlm
Compare all models on this prompt →

Fireworks · qwen3.6-35b-a3b

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 app in one `index.html` file. It needs:
- Full-screen canvas
- Click to launch fireworks shells
- Gravity-affected particles
- Fading particle bursts
- All CSS/JS inline
- No external resources

Let me build this with a satisfying particle system.
write /workspace/index.html (9890 bytes)
toolResult

Successfully wrote 9890 bytes to /workspace/index.html

assistant
thinking
The file has been written successfully. Let me verify it exists and looks correct.
bash {"command":"ls -lh /workspace/index.html && wc -l /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 9.8K Jul 31 08:47 /workspace/index.html 360 /workspace/index.html

assistant
thinking
The file is created. Let me give the user a summary of what was built.

Done! `/workspace/index.html` — open it in a browser to enjoy the show. **What's included:** - **Click anywhere** on the canvas to launch a firework shell from the bottom toward your click point - Shells rise with a glowing trail, then burst into **100–160 particles** with full physics - **4 burst shapes**: circle, ring, star, and willow (longer-lasting, more dramatic drop) - **10 color palettes** randomly chosen per shell (reds, blues, greens, golds, purples, etc.) - Particles are affected by **gravity** and **air drag**, then **fade** over time - A **flash** appears at each burst origin for that satisfying "pop" feel - Tiny **sparkle particles** randomly ignite on fading particles - **Twinkling star field** background - Motion-blur fade trail gives a smooth, cinematic feel - Occasional **auto-launches** when the sky is empty (after you start clicking it stops auto-launching)

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.6-35b-a3b
vendorQwen
harnesspi-agent
generated2026-07-31

EVALUATION

4/5 working

Fireworks auto-launch and explode into colorful particle bursts; click launches an extra shell that explodes nicely.

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 motion1.4%
on click3.1%
on drag0.9%
on wheel0.8%
on enter + space0.0%
on arrow keys0.2%
on w/a/s/d0.3%
frame spread9.2 / 255
console errors0
js errors none

METRICS

runtime45.2s
tokens in13k
tokens out4.2k
cached7.4k
cost / run$0.0049