Code Sketch
art
Category: Art
clear()
showAxes()
showGrid()
setBackgroundH(yellow, gray)
guru.draw
def guru = picStack(
Picture{},
square.thatsFilledWith(blue),
square.thatsFilledWith(green).thatsRotated(16),
star.thatsFilledWith(red).thatsTranslated(-180,100),
star.thatsFilledWith(red).thatsTranslated(-180,-150),
star.thatsFilledWith(red).thatsTranslated(150,-150),
)
def square = Picture {
repeat(6) {
repeat(4) {
forward(100)
right(90)
}
right(60)
}
}
def star = Picture {
repeat(9) {
forward(100)
right(160)
}
}