Download presentation
Presentation is loading. Please wait.
1
An exercise on recursion
Sierpinski’s Gasket… Demo — most GUI structure is given How can you use recursion to solve this problem? You may pair-program this if you want Fun extensions: Add color Play with non-equilateral triangles Write the chaos version (search on web for it) Template project in your SVN repository: Sierpinski This program (along with Determinant, another recursive program) is due before class on Day 10. Think-pair-share on how to solve this problem using recursion. Start in drawGasket() method.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.