Set the Angle with the Slider Press Redraw to generate the sunflower pattern for the given angle. Press the Space bar to switch the background from the Sunflower to a Grid to plan white and back again.
Credit: I obtained the code for this from the book Learn to Code with Scratch by Majed Marji. Notes: The slider only runs between 137 and 138 degrees for the sunflower patterns. (137.51 is the closest approximation to the Golden Angle.) If you want, See inside the code and change the Min and Max on the Slider. If you set the angle to 45 or 90, it might give you a better understanding of what the equation is doing.