Seek, and you shall find your way to fun!
summary
Demo implements maze generation with a recursive backtracker (DFS) arranged on a flattened grid, exposes runtime control via xstate statecharts so the algorithm can be stepped/paused and swapped, and renders with React + canvas (prototypes in p5). Sound is synced using use-sound/howler.js, the live demo sustains up to 200 FPS and stays smooth, AI image models produce visually plausible but often unsolvable mazes, and GPT-4 can spit out working-seeming code though it hasn’t been verified here.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:18Mazes and graph theory basics
- 4:44Depth-first search for maze generation
- 8:39Recursive backtracker demo
- 11:06Live maze generator demo
- 13:58Sound and performance in maze
- 16:47State machine for UI
- 17:49Mazes and AI challenges
- 19:15Explore side projects








