Wednesday, 5 December 2012

Week 11-The beautiful snowflack


The best part that I like the course is to manipulate pictures. Based on the define of Koch, we can define Koch-snowflake as:
(define (koch-snowflake d)
  (above
   (beside
    (rotate 60 (koch d))
    (rotate -60 (koch d))
    (rotate 180 (koch d))))


No comments:

Post a Comment