Wilson's Algorithm
Posted3 months agoActive3 months ago
cruzgodar.comTechstory
supportivepositive
Debate
20/100
Maze Generation AlgorithmsWilson's AlgorithmRandom Walks
Key topics
Maze Generation Algorithms
Wilson's Algorithm
Random Walks
The post shares an interactive visualization of Wilson's Algorithm for generating mazes, sparking discussion about related algorithms and resources.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
5h
Peak period
4
4-6h
Avg / period
1.8
Key moments
- 01Story posted
Oct 11, 2025 at 9:35 AM EDT
3 months ago
Step 01 - 02First comment
Oct 11, 2025 at 2:13 PM EDT
5h after posting
Step 02 - 03Peak activity
4 comments in 4-6h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 12, 2025 at 11:08 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45549017Type: storyLast synced: 11/20/2025, 1:45:02 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
"Now pick another random black dot to start from and color it white too. From this black dot" from which black dot, the white one?
"single step in a random direction, coloring the new dot white and drawing a line between the two dots". How big of a step is we need to draw a line? Ok, so where not talking about pixels, and where drawing black and white dots on a background of... let's imagine grey?
"backtrack along your path until you’re back at the dot that you were trying to color white" does this algorithm ever terminate in any tractible time?
[1] https://en.wikipedia.org/wiki/Loop-erased_random_walk
i bought his book totally worth it http://mazesforprogrammers.com/
https://weblog.jamisbuck.org/2011/1/20/maze-generation-wilso...
Many great articles about this can be found like:
https://www.gamesthatwerent.com/2024/01/the-endless-maze-alg...
https://ieee-cog.org/2021/assets/papers/paper_215.pdf
https://professor-l.github.io/mazes/