Code Sketch


circles & triangles
By: Aditya Pant
Category: Art

def t() {
    right(30)
    repeat(3) {
        forward(100)
        right(120)
    }
}

def c() {
    repeat(360) {
        forward(1)
        right(1)
    }
}
clear()
beamsOn()
setAnimationDelay(0)
setFillColor(Color(255, 0, 201, 124))
repeat(4) {
    t()
    right(60)
    hop(100)
}
hop(-50)
right(90)
hop(50)
left(90)
setFillColor(Color(117, 244, 246, 117))
setPenColor(Color(117, 244, 246, 117))
repeat(30) {
    c()
    right(20)
}