def shape() {
repeat(1){
circle(20)
right(100, 60)
forward(100)
right(180)
forward(100)
right(100, 60 )
} }
def block() {
shape()
right( 10)
}
clear()
repeat(12) {
setPenColor(Color(70, 150, 170))
setAnimationDelay(10)
setPenThickness(1)
setFillColor(red)
setBackground(lightGray)
block()
}