oneshotlm
Compare all models on this prompt →

Fireworks · mimo-v2.5-pro

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
The user wants a fireworks display as a single-page web app. Let me create a full-screen canvas with:
- Click to launch firework shells
- Shells explode into particle bursts
- Gravity affects particles
- Particles fade over time

This is a classic canvas animation project. I'll make it visually appealing with:
- Dark background
- Colorful explosions
- Realistic physics (gravity, velocity, fade)
- Multiple particle shapes/trails
- Maybe some extra effects like trails, twinkle, etc.

Let me write this all into index.html.
write /workspace/index.html (7254 bytes)
toolResult

Successfully wrote 7254 bytes to /workspace/index.html

assistant
thinking
The file is written. Let me verify it's there.

`/workspace/index.html` is ready. Here's what it includes: **Physics & Visuals** - **Gravity** pulls every particle downward (`0.045` per frame) with slight per-particle variation - **Air drag** (`0.985`) decelerates particles naturally - Each particle leaves a **short fading trail** and has a **radial glow** (using `lighter` compositing) - Particles fade via a `life` → `decay` system and are removed at `life <= 0` **Burst Patterns** (randomly chosen per explosion) - 🔵 Standard spherical scatter - ⭕ Uniform ring - ❤️ Heart-shaped burst - ⚪ Double-burst (inner + outer sphere) **Interaction** - **Click / tap** anywhere to launch a shell from the bottom center to that point - Shells trail upward with slight gravity, then **explode on arrival** - Ambient auto-launches keep the sky active between clicks **Extras** - Canvas is **full-window** and resizes responsively - `crosshair` cursor hints at interactivity - All rendering uses the canvas 2D API — **zero external dependencies**

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

modelmimo-v2.5-pro
vendorXiaomi · MiMo
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Auto-launching fireworks with colorful gravity-affected particle bursts, even a heart-shaped burst; click launches extra shells.

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 motion5.9%
on click8.2%
on drag7.7%
on wheel10.7%
on enter + space6.7%
on arrow keys8.2%
on w/a/s/d9.0%
frame spread25.9 / 255
console errors0
js errors none

METRICS

runtime44.2s
tokens in3.1k
tokens out2.7k
cached2.7k
cost / run$0.0037