Fireworks · llama-3.3-70b-instruct
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.
index.html (1678 bytes)Successfully wrote 1678 bytes to index.html
This code creates a full-screen canvas and listens for mouse clicks. When a click occurs, it launches a shell from the click position, which explodes into particles after a short duration. The particles are affected by gravity and fade out over time, creating a fireworks-like effect. The animation is updated using the `requestAnimationFrame` function, which ensures smooth and efficient rendering.
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
Click and wheel produce tiny faint particle bursts, but display is mostly blank with no significant fireworks visible.
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.