Code Sketch


dacagonPattern
By: Froila Rodrigues
clear()
setSpeed(fast)

def decagone
{
right()
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
forward(30)
left(36)
}
def decaPattern
{
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
    decagone
    left(30)
}

setFillColor(red)
setPenColor(black)
setBackgroundV(white, pink)
decaPattern
invisible()