Code Sketch


happy rakshabandan
By: Leann D. John
Category: Art
clear()
showAxes()
setSpeed(fast)

//rakhi
setPenThickness(8)
setPenColor(blue)
def polygon{
    repeat(4) { 
        forward(60)
        right(90)        
        
    }
}

def pattern {
    repeat(15) {   
        setFillColor(Color(255, 29, 231)) 
        polygon
        right(24)        
        
    }
}
pattern

// band
setFillColor(Color(255, 84, 12))
setPenThickness(10)
right(45)
hop(72)
forward(150)
turn(180)
hop(298)
forward(150)