Solve a maze in your browser
Every frame is the network itself: one 3 × 3 convolution followed by two 1 × 1 layers, applied in every cell, computed from its 115 non-zero weights. No cell sees the maze. Press ▶ Play: the distance field D floods out from the goal one cell per step, then the cells on every shortest path light up from the start.
Draw walls or corridors, move the start or the goal, change the speed, or switch on noise (σ = 0.02) or “half the cells step”. Switch off clear registers on edit to watch the cells repair the old answer instead of starting again. The breadth-first-search check under the maze is computed by the page and never given to the cells. Hold the pointer still on a cell for half a second to open the inspector: its 3 × 3 neighbourhood, what it decides this step, and every hidden unit it uses.