Coding Challenge #77: Recursion

In this coding challenge, I explore the concept of recursion to create fractal patterns in JavaScript HTML5 canvas with the p5.js library. Code: https://thecodingtrain.com/challenges... šŸ•¹ļø p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s... šŸŽ„ Previous video:    • CodingĀ ChallengeĀ #76:Ā 10PRINTĀ inĀ p5.jsĀ Ā  šŸŽ„ Next video:    • CodingĀ ChallengeĀ #78:Ā SimpleĀ ParticleĀ SystemĀ Ā  šŸŽ„ All videos:    • CodingĀ ChallengesĀ Ā  References: šŸ“™ The Fractal Geometry of Nature: http://amzn.to/2xiVwht Videos: šŸŽ„ My playlist on fractals & recursion:    • 8:Ā FractalsĀ -Ā TheĀ NatureĀ ofĀ CodeĀ Ā  šŸ”“ Coding Train Live 102:    • CodingĀ TrainĀ LiveĀ 102:Ā IntroĀ toĀ ES6Ā Classe...Ā Ā  Related Coding Challenges: šŸš‚ #14 Recursive Fractal Trees:    • CodingĀ ChallengeĀ 14:Ā FractalĀ TreesĀ -Ā Recur...Ā Ā  šŸš‚ #17 Space Colonization:    • CodingĀ ChallengeĀ #17:Ā FractalĀ TreesĀ -Ā Spac...Ā Ā  šŸš‚ #21 Mandelbrot Set with p5.js:    • CodingĀ ChallengeĀ 21:Ā MandelbrotĀ SetĀ Ā  Timestamps: 0:00 Introducing today's topic 1:46 Start coding! 2:51 Write a drawCircle function 3:37 Add recursion to the drawCircle function 5:15 Add an exit condition 6:58 Self-similar fractals 10:10 Add randomness 11:45 Have fun coding some recursive fractals Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound šŸš‚ Website: http://thecodingtrain.com/ šŸ‘¾ Share Your Creation! https://thecodingtrain.com/guides/pas... 🚩 Suggest Topics: https://github.com/CodingTrain/Sugges... šŸ’” GitHub: https://github.com/CodingTrain šŸ’¬ Discord: https://thecodingtrain.com/discord šŸ’– Membership: http://youtube.com/thecodingtrain/join šŸ›’ Store: https://standard.tv/codingtrain šŸ–‹ļø Twitter: Ā Ā /Ā thecodingtrainĀ Ā  šŸ“ø Instagram: Ā Ā /Ā the.coding.trainĀ Ā  šŸŽ„ Coding Challenges:    • CodingĀ ChallengesĀ Ā  šŸŽ„ Intro to Programming:    • StartĀ learningĀ here!Ā Ā  šŸ”— p5.js: https://p5js.org šŸ”— p5.js Web Editor: https://editor.p5js.org/ šŸ”— Processing: https://processing.org šŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-o... This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod... #recursion #fractals #beginners #javascript #p5js