oneshotlm
Compare all models on this prompt →

Boids flocking · gpt-5.6-luna

Create a full-screen flocking simulation of boids using separation, alignment, and cohesion, drawn as oriented triangles that steer smoothly and flee from the mouse cursor.

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

Create a full-screen flocking simulation of boids using separation, alignment, and cohesion, drawn as oriented triangles that steer smoothly and flee from the mouse cursor.

assistant
thinking
**Creating index.html**

I need to focus on creating the index.html file. First, I'll probably want to inspect my current directories to see what's there, so it makes sense to run a command like "ls." This will help me understand where I should place the new file and what other files I might be working with. It's all about setting a solid foundation before I dive in, right? Let's get this going!
bash {"command":"pwd && ls -la && env | grep '^PI_' || true"}
toolResult

/tmp/ws total 0 drwxr-sr-x. 2 node node 6 Aug 1 17:32 . drwxrwsrwx. 3 root node 16 Aug 1 17:32 .. PI_CODING_AGENT=true PI_REASONING_LEVEL=medium PI_SESSION_FILE=/home/node/.pi/agent/sessions/--tmp-ws--/2026-08-01T17-32-28-582Z_019fbe62-6a26-728b-88c2-c41110441fed.jsonl PI_PROVIDER=openrouter PI_MODEL=openai/gpt-5.6-luna PI_SESSION_ID=019fbe62-6a26-728b-88c2-c41110441fed PI_TIMEOUT_MS=600000

assistant
thinking
**Crafting an interactive canvas**

I’m focusing on creating an index and ensuring everything is polished for full-screen mode. It seems like I probably won’t need to inspect things too much. I’ll write and implement canvas boids with a UI overlay, possibly including title metrics and instructions. I want the setup to be self-contained without any external dependencies. I’ll also consider using robust JS features for responsive design, mouse interaction, and adding visual elements like glowing triangles or a grid background. Let’s dive into crafting this!
write /tmp/ws/index.html (7078 bytes)
toolResult

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

assistant

Created `/tmp/ws/index.html` with a self-contained full-screen boids flocking simulation featuring: - Separation, alignment, and cohesion behaviors - Smooth steering and speed limiting - Oriented triangular boid rendering - Mouse cursor repulsion - Responsive full-screen canvas - Atmospheric visual effects and HUD showing agent count/FPS - No external resources or network requests

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-5.6-luna
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Boid flocks render as glowing cyan streaks with mouse repulsion circles, but shapes look like blurry comet trails, not distinct oriented triangles.

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 motion4.4%
on click3.4%
on drag3.3%
on wheel3.4%
on enter + space2.8%
on w/a/s/d1.7%
frame spread15.3 / 255
console errors0
js errors none

METRICS

runtime21.9s
tokens in9
tokens out2.9k
cached3.6k
cost / run$0.0106