oneshotlm
Compare all models on this prompt →

Fluid simulation · muse-spark-1.2

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 ↗
transcript · 6 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 (32763 bytes)
toolResult

Successfully wrote 32763 bytes to index.html

assistant
bash {"command":"ls -lh index.html && head -n 20 index.html"}
toolResult

-rw-r--r--. 1 node node 33K Aug 13 01:27 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/> <title>Fluid — Swirling Dye</title> <style> *{margin:0;padding:0;box-sizing:border-box} html,body{width:100%;height:100%;overflow:hidden;background:#060a12;font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;color:#e6eaf2} canvas{position:fixed;inset:0;width:100%;height:100%;display:block;cursor:crosshair} .topbar{ position:fixed;top:14px;left:50%;transform:translateX(-50%); display:flex;align-items:center;gap:14px; background:rgba(16,22,38,0.72);backdrop-filter:blur(14px) saturate(140%); border:1px solid rgba(255,255,255,0.10);border-radius:18px; padding:10px 14px;z-index:10;box-shadow:0 10px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08); max-width:calc(100vw - 20px);flex-wrap:wrap;justify-content:center; } .brand{display:flex;align-items:center;gap:10px} .logo{width:34px;height:34px;border-radius:10px;background:conic-gradient(from 0deg,#ff3b82,#ffb020,#2af598,#0ea5ff,#8b5cf6,#ff3b82);display:grid;place-items:center;box-shadow:0 4px 16px rgba(102,126,255,0.4)}

assistant

Fluid simulation created in `index.html` — full-screen WebGL fluid with Jos Stam stable-fluid solver (curl/vorticity swirl, pressure projection, dye advection). Drag to push swirling dye, hold to build vortex pressure, double-click for radial burst. No external resources.

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

modelmuse-spark-1.2
vendorMeta
harnesspi-agent
generated2026-08-13

EVALUATION

3/5 partial

Fluid dye sim shows faint colored swirls on click/drag but mostly dark, sparse visible effects, low contrast.

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 motion3.0%
on click0.8%
on drag0.0%
on wheel0.0%
on enter + space0.8%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread16.7 / 255
console errors0
js errors none

METRICS

runtime60.9s
tokens in27k
tokens out15k
cached5.3k
cost / run$0.0908