Daisy Design

Unit 1 Optional Project

In this project, you are going to write code to draw the geometric design shown below, explore its variations and use it draw more complex designs.
Daisy

  1. Discuss how this design was created. What are the fundamental building blocks? How are these arranged?
  2. You can watch this animation to get some ideas.

    Animation showing the creation of the Daisy design by rotation of a circle

  3. The entire design is made up of circles. So the first thing to do is to write code that will create a circle. To do this, create a custom block Draw Circle via the “Variables” menu “Make a block” option. Hint: A regular polygon with 30 or more sides is a good approximation for a circle.
  4. Now that you can draw a circle, you can generate the Daisy Design by rotating your sprite a bit at the end of each circle drawn. In the design above there are 24 circles. How much must the sprite turn each time a circle is drawn in order to make a full cycle of 360° when all the circles are drawn? Create a custom block Draw Daisy to do this.
  1. Extend your code so that you can create the following patterns.
    Two Daisies Triangle of  Daisies Three Daisies Hexagon of Daisies
  2. Consider the following variations on the pen color and thickness for the Daisy Design. Note that in the first design, color changes within each circle, while in the second design, pen thickness changes within each circle. Study the code and explore your own such variations.
    set pen hue to ((abs of(direction))/3.6) Color variation in Daisy
    set pen size to(abs of((direction-180)/30) Pen thickness variation in Daisy
  3. Create your own variations of the Daisy Design and share with your classmates.