Code Sketch


new-pattern
By: Nitin Mishra
Category: Art
clear()
setSpeed(superFast)
originBottomLeft()
def shape() {
    repeat(6) {
        right(120, 20)
        right(60)
        left(120, 20)
        right(60)
    }
}
setPenColor(black)
repeat(16) {
    repeat(10) {
        left(30)
        setFillColor(red)
        shape()
        right(30)
        hop(60)
        left(30)
        setFillColor(gray)
        shape()
        right(30)
        hop(60)
    }
    hop(-20 * 60)
    right()
    hop(52)
    left()
    hop(30)
}