Maze generator & solver · gpt-4.1-nano
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.
index.html (5480 bytes)Successfully wrote 5480 bytes to index.html
I have generated a complete, self-contained `index.html` file. It creates a maze with the recursive-backtracker algorithm on a canvas and animates an BFS solver finding the path from the start to the finish. You can open this file in a web browser to see the animation.
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 via recursive backtracker and A*/BFS solver visibly explores with yellow/red visited cells and blue marker.
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.