Maze generator & solver · qwen3-vl-32b-instruct
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 (14426 bytes)Successfully wrote 14426 bytes to index.html
I've created a single-page web application that generates a random maze using the recursive backtracker algorithm and animates pathfinding using both A* and BFS algorithms. The app includes: - A canvas displaying the maze - Buttons to generate a new maze, solve with A*, solve with BFS, or reset - Visual feedback showing the solving process - Color-coded cells for start (blue), end (purple), current position (orange), visited cells (yellow), and the final path (green) The entire application is self-contained in index.html with inline CSS and JavaScript, requiring no external resources or network requests. You can now open index.html in any modern browser to interact with the maze generator and pathfinder.
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 correctly via recursive backtracker, but no A* or BFS solve animation is ever shown; solve buttons untested by generic inputs.
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.