;;; Scheme Recursive Art Contest Entry ;;; ;;; Please do not include your name or personal info in this file. ;;; ;;; Title: ;;; ;;; Description: ;;; number 0) (begin (pd) (grass 20) (pu) (seth 90) (fd 35) (copy-grass (- number 1)) ) ) ) (define (flower length) (pd) (color "green") (left 135) (forward length) (backward length) (right 90) (forward length) (backward length) (left 45) (forward (* 2 length)) (right 90) (color "yellow") (circle 40) (penup) (color "red") (left 90) (forward 55) (right 90) (forward 25) (left 90) (pendown) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) (left 45) (forward 20) (circle 40) ) (define (draw) (draw-peppa) (copy-grass 3) (seth -90) (fd 750) (seth 180) (fd 60) (seth 90) (copy-grass 25) (seth -90) (fd 700) (seth 180) (fd 45) (seth 90) (copy-grass 25) (seth -90) (fd 730) (seth 0) (fd 100) (seth 90) (flower 60) (exitonclick) ) ; Please leave this last line alone. You may add additional procedures above ; this line. (draw)