Choo choo!

All aboard the Coding Train with Daniel Shiffman, a YouTube channel dedicated to beginner-friendly creative coding tutorials and challenges.

#162

Self Avoiding Walk

03 Jun 2021

It’s finally time to attempt a Self-Avoiding Walk! In this video, I quickly visualize a simple JavaScript p5.js implementation of a self-avoiding walk. I then tackle the more complex problem of backtracking to find a solution to a space-filling self-avoiding walk.

Latest Videos

Support The Coding Train

image/svg+xml
Consider supporting? Join the Coding Train community with a YouTube membership!
Become a Member
The Coding Train Merchandise Store
Coding Train Store Visit the Coding Train store with a small selection of high quality items
Shop for Merchandise