Code Sketch


Episode 3: Having Fun with different shapes! Colors - Filling the shapes with colors
By: Clinton J. Fernandes
Category: Programming
//CLINTONCODE
clear()
setSpeed(fast)
left()
hop(100)

setFillColor(Color(255, 255, 51))
repeat(3)
{
forward(100)
right(120)
}

left(180)
hop

setFillColor(Color(255, 15, 50))
repeat(5)
{
    forward(100)
    right(72)
}

hop(200)
setFillColor(Color(51, 51, 255))
repeat(6) 
{
    forward(100)
    right(60)
}

left(90)
hop (50)

setFillColor(Color(102, 255, 0))
repeat(8)
{
    forward(25)
    right(45)
}

left(90)
hop (50)

setFillColor(Color(153, 153, 153))
repeat (2) 
{
    forward(100)
    right(90)
    forward(50)
    right(90)
}

right()