Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Dive into the fascinating world of fractals with this 31-minute coding challenge video. Learn how to create an animated Dragon Curve fractal using p5.js and JavaScript. Explore the algorithm behind this intriguing pattern, which mimics repeatedly folding a strip of paper. Follow along as the instructor guides you through the coding process, from writing the rotate function to implementing animation and scaling. Discover techniques for adding starting positions, creating a nextGeneration() function, and applying a reduction ratio. By the end of the tutorial, you'll have a fully functioning Dragon Curve animation and be inspired to experiment with your own variations. Perfect for those interested in generative art, mathematical patterns, and creative coding.