Code Sketch


Flower
By: Lalit Pant
// A design made using the shape-block method:
// https://docs.kogics.net/ideas/turtle-shape-block.html

def shape() {
  savePosHe()
  left(45)
  right(90, 100)
  right(90)
  right(90, 100)
  restorePosHe()
}

def block() {
  shape()
  right(18)
}

clear()
setSpeed(superFast)
setBackground(cm.rgb(40, 40, 40))
setPenColor(cm.silver)
repeat(20) {
  block()
}