Code Sketch


penta and hexa
By: Prabhakar Salkar
clear()
setSpeed(superFast)
showAxes()

setPosition(200, 0)
setFillColor(Color(255, 30, 233))
def shape (side:Int , size:Int)=
    repeat(side) {
        forward(size)
        right(360/side)
    }
 left()   
shape(6, 110)

setPosition(-100, 0)
setFillColor(Color(15, 236, 255, 43))
shape(5, 120)