oneshotlm
Compare all models on this prompt →

Fluid simulation · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0007 Runtime 11.3s

Prompt for this run

Create a real-time fluid simulation on a full-screen canvas where dragging the mouse pushes swirling colored dye through the fluid.

⛨ 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

modelgpt-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime11.3s
tokens in2.9k
tokens out660
cached1.7k
cost / run$0.0007
Transcript · 4 messages
user

Create a real-time fluid simulation on a full-screen canvas where dragging the mouse pushes swirling colored dye through the fluid.

assistant
→ write index.html (2269 bytes)
toolResult

Successfully wrote 2269 bytes to index.html

assistant

The fluid simulation has been created and written to the file `index.html`. You can open this file in a web browser to view and interact with the simulation.