Code Sketch
Annimated Flower
clear
setSpeed(superFast)
setBackground(black)
def darkBrown = Color(23,21,21)
def darkYellow = Color(226,217,17)
//drawCentered(petals.thatsFilledWith(darkYellow).thatsRotated(s))
def petals=Picture
{
repeat (18)
{
left
right(130,100)
right()
right(130,100)
}
}
def innerFlower = Picture
{
repeat(20)
{
forward(47)
hop(-47)
right(20)
}
}.thatsStrokeColored(brown).thatsStrokeSized(5)
animateWithState(0)
{ s =>
erasePictures()
drawCentered(petals.thatsFilledWith(darkYellow).thatsRotated(s))
innerFlower.thatsRotated(-s).draw
s+1
}