oneshotlm
Compare all models on this prompt →

Fireworks · gemini-3.1-flash-lite

Output generated Cost / run $0.0033 Runtime 13.1s

Prompt for this run

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 ↗

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

modelgemini-3.1-flash-lite
vendorGoogle
harnesspi-agent
generated2026-07-22

METRICS

runtime13.1s
tokens in3.9k
tokens out1.6k
cached0
cost / run$0.0033
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
**Developing Canvas Fireworks**

I'm focusing on getting the canvas element set up for a full-screen fireworks experience. My current thought is how to best handle launching the fireworks, specifically whether they should originate from the bottom of the screen or directly at the click location, leading to the target point.

**Designing Explosions**

I'm refining the physics for the fireworks shells, focusing on their upward trajectory before detonation. My current consideration is how to best manage the transition from shell travel to particle dispersal upon explosion, ensuring a visually impactful effect.

→ write index.html (4303 bytes)
toolResult

Successfully wrote 4303 bytes to index.html

assistant

The fireworks display has been created in `index.html`. It features a full-screen canvas where clicking anywhere on the screen launches a shell that explodes into gravity-affected, fading particles. No external dependencies are used.