oneshotlm
Compare all models on this prompt →

Fireworks · qwen3.6-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 app in a single index.html file. Let me create something visually impressive with:

1. Full-screen canvas
2. Click to launch shells that travel upward
3. Shells explode into particle bursts at the peak
4. Particles affected by gravity
5. Particles fade over time
6. All CSS/JS inline in one file

Let me design this carefully for a great visual experience.
write /workspace/index.html (10185 bytes)
toolResult

Successfully wrote 10185 bytes to /workspace/index.html

assistant
thinking
The file has been written successfully. Let me verify it's present.
bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 10249 Jul 8 00:53 /workspace/index.html

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

`index.html` is ready. Here's what it includes: **Launching:** - **Left-click** anywhere → launches a shell toward that point with a glowing trail that rockets upward and bursts on ascent reversal - **Right-click** → volley of 5 shells fired in rapid succession - **Touch** → supports touch screens **8 explosion types (randomly chosen):** 1. **Sphere** — dense spherical burst 2. **Double Ring** — two concentric color rings 3. **Willow** — fast-drop with glittering sparks 4. **Chrysanthemum** — large, slow-fading long-lived burst 5. **Stardust** — starry arms pattern 6. **Crossette** — splits into sub-bursts mid-flight 7. **Palm** — wide ring with a tight bright core 8. **Strobe** — flash/shimmer effect **Visual effects:** - Additive blending (`lighter` compositing) for realistic light accumulation - Radial glow on every particle and rocket trail - Persistent motion trails via semi-transparent background fade - Gravity, drag, and fade-out on all particles - Burst flash sparks at each explosion center **All self-contained** — no external resources, CDNs, or network requests. Three auto-launches fire on page load to get the show going immediately.

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

EVALUATION

4/5 working

Fireworks auto-launch and explode with colorful particle bursts; click and wheel trigger new fireworks, drag/arrows/wasd show no distinct 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.7%
on click1.6%
on drag1.6%
on wheel2.5%
on enter + space2.5%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread11.1 / 255
console errors0
js errors none

METRICS

runtime37.5s
tokens in13k
tokens out4.7k
cached0
cost / run$0.0078