;Andrea Hengartner cs61a-ed ;;;when i close facebook ;;;and then open a new tab ;;;it's always facebook (define (facebook l n c) (if (= c 1) (color "white") (color "#3B5998")) (begin_fill) (left 90) (forward (* 30 l)) (right 90) (forward (* 30 l)) (right 90) (forward (* 30 l)) (right 90) (forward (* 30 l)) (right 90) (forward (* 8 l)) (end_fill) (begin_fill) (if (= c 1) (color "#3B5998") (color "white")) (right 90) (forward (* 9.5 l)) (right 90) (forward (* 5 l)) (left 90) (forward (* 5 l)) (left 90) (forward (* 5 l)) (right 90) (forward (* 2.5 l)) (circle (* -2 l) 90) (forward (* 3 l)) (left 90) (forward (* 5 l)) (left 90) (forward (* 3 l)) (circle (* 7 l) 90) (forward (* 2.5 l)) (right 90) (forward (* 5 l)) (left 90) (forward (* 5 l)) (left 90) (forward (* 5 l)) (right 90) (forward (* 9.5 l)) (right 90) (forward (* -13 l)) (end_fill) (if (> n 0) (begin (penup) (forward (* 20 l)) (right 90) (pendown) (facebook (/ l 3) (- n 1) (- 1 c)) (forward (* 10 l)) (right 90) (forward (* 15 l)) (right 90) (forward (* 15 l)) (left 90) (facebook (/ l 2) (- n 1) (- 1 c)) (penup) (forward (* -15 l)) (left 90) (forward (* 15 l)) (pendown) (right 90) ))) (setposition 0 -100) (speed 0) (facebook 10 3 0) (write ("facebook"))