oneshotlm
Compare all models on this prompt →

Fireworks · claude-opus-4.8

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
I'll create a self-contained HTML file with an animated fireworks effect.
write /workspace/index.html (4623 bytes)
toolResult

Successfully wrote 4623 bytes to /workspace/index.html

assistant

Created `index.html` — a self-contained fireworks display. Features: - **Full-screen canvas** that resizes with the window - **Click/tap anywhere** launches a shell from the bottom toward that point - Shells arc up with a glowing trail, then **explode at apex** into 60–130 particles - Particles are **gravity-affected**, decelerate with drag, and **fade out** over their lifetime - Additive blending (`lighter`) for bright, glowing bursts; some explosions are multi-colored - Ambient auto-launches keep the sky active, and the hint fades on first click Open the file in any browser — no network or external resources needed.

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

modelclaude-opus-4.8
vendorAnthropic · Claude
harnesspi-agent
generated2026-07-08

EVALUATION

3/5 working

Fireworks launch and explode into fading particle bursts; click and other inputs trigger new shells, arrows had 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 motion0.3%
on click0.7%
on drag0.3%
on wheel0.4%
on enter + space0.4%
on arrow keys0.1%
on w/a/s/d0.5%
frame spread2.9 / 255
console errors0
js errors none

METRICS

runtime32.9s
tokens in2.3k
tokens out2.5k
cached4.5k
cost / run$0.0770