Compare all models on this prompt →
Maze generator & solver · inkling-small
Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.
⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user
Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.
assistant
thinking
The user wants a single-page web app with a maze generator (recursive backtracker) and a solver animation (A*). I'll write index.html with inline CSS/JS using Canvas.
→ write
/tmp/ws/index.html (8079 bytes)toolResult
Successfully wrote 8079 bytes to /tmp/ws/index.html
assistant
thinking
Done. Provide brief explanation.
Created `/tmp/ws/index.html`: a self-contained canvas maze generator (recursive backtracker) with animated A* solver (open-set visualization + reconstructed path). Click "Generate Maze" then "Solve with A*". All CSS/JS is inline, 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
modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01
METRICS
runtime19.4s
tokens in5.6k
tokens out3.1k
cached2.4k
cost / run$0.0107