version 1: https://scratch.mit.edu/projects/577621993/ change slider "a" to set size press "redraw" to start and enter n for number of petals (note: if n is odd number, final number of petals will be n, but if n is even, final number will be n times 2.)
idea from book. I added stuff though.