Draw maze walls as an obstacle field, seed food at the entrance and exit — the network's dead-end trails wither first while the shortest passage thickens, solving the maze by itself

0 search steps · maze solving canvas · ImageData · requestAnimationFrame