CS174: Module 14: Recursive Drawing Solutions

Developed by Professor Tralie and Professor Mongan.


Please watch the video below, and click the next button once you have finished

Notes

  • To draw a self-similar shapes, you draw copies of the entire shape that are scaled/translated/rotated to different places. They are natural candidates for recursive implementations.
  • The subdivision coordinates for the sierpinski triangle are shown below.
  • If you're interested, you should try the Koch curve and the Sierpinski carpet