oneshotlm
Compare all models on this prompt →

Fluid simulation · mistral-large-2512

Output generated Cost / run $0.0084 Runtime 50.8s

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

modelmistral-large-2512
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime50.8s
tokens in6.8k
tokens out4.1k
cached2.8k
cost / run$0.0084
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 /tmp/ws/index.html (11796 bytes)
toolResult

Successfully wrote 11796 bytes to /tmp/ws/index.html

assistant

The **real-time fluid simulation** is ready! Open `/tmp/ws/index.html` in a browser to interact with it. ### Features: - **Full-screen canvas** with fluid dynamics. - **Drag your mouse** to push swirling colored dye through the fluid. - **Touch support** for mobile devices. - **Vibrant colors** that evolve over time. - **No external dependencies**—fully self-contained. ### How to Run: 1. Open the file in any modern browser (Chrome, Firefox, Edge, Safari). 2. Click and drag to see the fluid respond with swirling dye.