Fireworks · minimax-m2.7
Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.
transcript · 6 messages
Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.
thinking
The user wants a fireworks display with: 1. Full-screen canvas 2. Click to launch shells 3. Explode into particle bursts 4. Gravity-affected particles 5. Fading particles Let me create a single HTML file with an immersive fireworks experience.
/workspace/index.html (6099 bytes)Successfully wrote 6099 bytes to /workspace/index.html
thinking
I've created a fireworks display. Let me verify it was written correctly by checking the file exists.
{"command":"ls -la /workspace/index.html"}-rw-r--r-- 1 node node 6099 Jul 8 00:54 /workspace/index.html
thinking
The file is created successfully. Let me provide a summary of what was built.
Done! **`/workspace/index.html`** is ready. Here's what's in it: - **Full-screen canvas** that auto-resizes to any window size - **Click / tap** anywhere to launch a firework shell upward - **Gravity** pulls both shells and sparks downward - **Particle bursts** explode into 80–130 sparks with randomized colors, angles, and speeds - **Occasional ring burst** — a white ring of sparks added with ~35% probability - **Motion trails** — faint sparks trail behind each rising shell - **Fade & drag** — particles slow and fade over time - **Auto-show** — fireworks launch automatically every 1–3 seconds so the screen is never empty - **Touch support** for mobile devices - **No external resources** — fully self-contained
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 auto-launch and explode with colorful gravity-affected particle bursts; clicks add extra shells, looks good.
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.