Mazes and JS — Because I Can't Help It
summary
A prototype reads a photo of a printed maze, converts pixels to passable/blocked cells (with a user-adjustable grayscale cutoff), builds a grid and solves it in the browser using the EasyStar.js A* implementation, returning a path in ~200 ms on a ~500×500 grid. The talk covers practical workarounds for image issues (canvas CSS vs API sizing, click-coordinate mapping), fallback options like Mechanical Turk or robots, and notes that image preprocessing needs improvement.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 4:25Maze fascination
- 10:45Startups and mazes
- 12:58Mold and robots solving mazes
- 15:29Crowdsourcing maze solutions
- 18:21Why coding is fun
- 20:07Demo: Solve maze from photo
- 25:13Canvas and image processing
- 27:00Business model and prototype
- 28:22Maze book recommendations
- 29:05A* algorithm for mazes
- 32:38Q&A
- 34:24Q&A: Image recognition
- 35:48Q&A: Business vs tech
- 37:11Q&A: Project goals
