Code Sketch


Dog
By: Soham Murgaonkar
Category: Art
clear()
//showAxes()
//showGrid()
setSpeed(fast)
setPosition(0, 50)
setFillColor(orange)
repeat(2){
left(60)
forward(100)
}
left(150)
forward(173)

left
forward(100)
left(60)
forward(100)
left(120)
forward(100)

moveTo(0, 50)
left(120)
moveTo(0, 150)
moveTo(200, -50)
moveTo(0, -50)
moveTo(0, 50)
moveTo(0, -50)
//front leg
hop(100)
repeat(4){
    left
    forward(100)    
}
left
hop(200)
left
hop(100)
moveTo(300, -150)
moveTo(300, 50)
moveTo(100, 50)

//Tail
hop(-200)
moveTo(350, 150)
moveTo(400, 100)
moveTo(300, 50)

left(60)
hop(200)
moveTo(200, -150)
moveTo(200, -50)
moveTo(300, -150)
invisible()