oneshotlm
Compare all models on this prompt →

Fluid simulation · gpt-4o-mini

Output generated Cost / run $0.0008 Runtime 12.2s

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
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime12.2s
tokens in3.0k
tokens out750
cached1.8k
cost / run$0.0008
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 (2608 bytes)
toolResult

Successfully wrote 2608 bytes to index.html

assistant

The fluid simulation has been created and saved in the `index.html` file. You can now open this file in a web browser to see the real-time fluid simulation with swirling colored dye.