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.
transcript · 4 messages
Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.
thinking
I'll create a self-contained HTML file with an animated fireworks effect.
/workspace/index.html (4623 bytes)Successfully wrote 4623 bytes to /workspace/index.html
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
EVALUATION
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.