PPolySim OS
For Hobbyists & Makers · Maze Generator

Maze Generator for a sorting algorithm

Built for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker. Simulate a sorting algorithm live below — adjust the inputs and watch it respond, right in your browser.

Maze Generator & SolverLive

Controls

Presets

A perfect maze (exactly one path between any two cells) carved by depth-first backtracking, then solved top-left to bottom-right with breadth-first search.

▶ Run in Python

Data Inspector

Cells25²
AlgorithmDFS carve
SolverBFS shortest

Governing equation

Reading this result: A perfect maze has exactly one path between any two cells, so BFS from corner to corner always finds it — here across 625 cells.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Maze Generator

Frequently asked questions

Is this good for hobbyists & makers?
Yes — this version of "Maze Generator for a sorting algorithm" is framed for hobbyists & makers exploring it for fun. Play with real physics and math, no license and no setup — just open and tinker.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.