🕛
Sunday / Jul 6th, 20257/6/2025

#10 — Maze Generator

Topics

maze,recursion,

Choo choo! In this multi-part coding challenge, I create a maze generator using a depth-first search algorithm with recursive backtracking. The idea is to walk through a grid of cells, removing walls as we go to build a maze.

  • Editing

    by Mathieu Blanchette

  • Animations

    by Jason Heglund

Passenger Showcase

The Showcase is collection of projects created by viewers like you!

Have you made something? Please share your work!

Try a challenge!

Suggested by the video you're watching

"Wave Function Collapse" challenge

Straight out of quantum mechanics, Wave Function Collapse is an algorithm for procedural generation of images. In this video (recorded over 3 live streams) I attempt the tiled model and explore a variety of solutions to the algorithm in JavaScript with p5.js. Also, check out WFC's predecessor: Model Synthesis (more info below).

"10Print" challenge

In this coding challenge, I attempt to create a version of the classic one-line Commodore 64 BASIC program in JavaScript using p5.js. This coding challenge is inspired by the book 10 PRINT.