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.
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.
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
EVALUATION
Maze generates and legend appears after key input, but the A* path is never drawn between start and end.
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.