Coding Challenge #10.2: Maze Generator with p5.js – Part 2



In the second part of this coding challenge, using p5.js, I move through the grid created in Part 1 by evaluating which neighbouring cell will be the next one to be visited.

Part 3: https://www.youtube.com/watch?v=8Ju_uxJ9v44

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your Coding Challenge ideas!

Contact: http://twitter.com/shiffman

Nature of Code class on Kadenze: https://www.kadenze.com/courses/the-nature-of-code/info

Source Code for this project:
https://github.com/CodingTrain/Rainbow-Code/tree/master/CodingChallenges/CC_10_Maze_DFS_p5.js

p5.js: https://p5js.org
Algorithm for Maze Generators: https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker

For more Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

To learn more about javascript: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Help us caption & translate this video!

http://amara.org/v/QbsZ/

source

Reply


Build A Site Info