oneshotlm
Compare all models on this prompt →

Flow-field particles · kimi-k3

Using the pre-provided p5.min.js (global p5, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.

⛨ sandboxed Open in new tab ↗
transcript · 6 messages
user

Using the pre-provided p5.min.js (global p5, instance or global mode), create a full-screen flow-field particle animation: thousands of particles advected by Perlin-noise vectors, leaving fading trails, with colors shifting over time.

assistant
thinking
Write index.html with p5 flow field.
write /workspace/index.html (3022 bytes)
toolResult

Successfully wrote 3022 bytes to /workspace/index.html

assistant
bash {"command":"ls -la /workspace"}
toolResult

total 1032 drwxrwxrwx 4 node node 128 Jul 28 01:11 . drwxr-xr-x 1 root root 4096 Jul 28 01:10 .. -rw-r--r-- 1 node node 3030 Jul 28 01:11 index.html -rw-r--r-- 1 node node 1034532 Jul 28 01:10 p5.min.js

assistant

Created `/workspace/index.html` — a self-contained, full-screen flow-field animation using the local `p5.min.js`. Features: - **~4000 particles** advected by a Perlin-noise vector field (3D noise: x, y, plus a time slice `zOff` so the field itself evolves smoothly) - **Fading trails**: each frame a low-alpha dark veil is drawn instead of clearing, so particle strokes fade organically - **Colors shift over time**: HSB hue base rotates continuously, with spatial hue variation from a second noise layer - Particles respawn when they expire or leave the canvas; per-particle speed, weight, and lifetime add variety - Controls (HUD, top-left): **Space** pause, **R** reset, **+/−** adjust particle count (500–12000); resizes with the window Open `index.html` in a browser — no network needed.

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

modelkimi-k3
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-28

EVALUATION

4/5 working

Flow-field particle trails animate continuously with shifting colors, responding to click/drag/wheel via color/reset changes.

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 motion34.1%
on click22.9%
on drag23.9%
on wheel12.0%
on enter + space3.9%
on w/a/s/d0.0%
frame spread18.3 / 255
console errors0
js errors none

METRICS

runtime41.9s
tokens in2.9k
tokens out1.3k
cached3.8k
cost / run$0.0069