clear() setAnimationDelay(1) (0 to 100).foreach { length => (1 to 4).foreach { i => left(90) forward(length * 5) } }