Code Sketch


snowman
By: Leann D. John
Category: Art
clear()
showAxes()
showGrid()
setPenThickness(5)
setPenColor(black)
setSpeed(fast)

left()
hop(80)
right()


def face{ right(360,80)}

def ears{ right(360,40)}

def eyes{ right(360,15)}



face
hop(125)
right()
hop(160)
hop(-100)
right()
hop(100)
setFillColor(black)
eyes 

left()
left(20)
hop(55)
setFillColor(black)
eyes
right(110)
hop(70)

setFillColor(white)

right(180,30)
hop(20)
right()
hop(30)
setFillColor(black)
right(360,10)

//body

 setFillColor(white)

right()
hop(75)
left()
right(360,100)

//arm 1

right()
hop(50)
left()
hop(90)
left(20)
forward(50)
left(45)
forward(20)
hop(-20)
left(45)
forward(20)
hop(-20)
right(95)
forward(20)

 //arm 2 
 
 right(180)
hop(90)
right(10)
hop(160)
right()
hop(15)
left()
right(20)
forward(50)
right(45)
forward(20)
hop(-20)
right(45)
forward(20)
hop(-20)
left(90)
forward(20)

//bottons

turn(180)
hop(100)
left(10)
hop(60)
left()
hop(40)
right()
setFillColor(black)
right(360,15)
right(90)
hop(85)
right(100)
setFillColor(black)
right(360,15)
left()
hop(50)
right(150)
setFillColor(black)
right(360,15)