Maze generator & solver · inkling-small
Output generated Cost / run $0.0107 Runtime 19.4s
Prompt for this run
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.
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
METRICS
Transcript · 4 messages
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.
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.
/tmp/ws/index.html (8079 bytes)Successfully wrote 8079 bytes to /tmp/ws/index.html
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.