Drawing Polygons and Patterns with Programming

This was the post I made for Second grade this week as we used Hopscotch for a second time

What does it take to create a regular polygon on Hopscotch? Last week we learned that programming a regular hexagon required at 60 degree rotation followed by a draw command, repeated 6 times.  You may not know that 60 multiplied by 6 equals 360.  
When we are talking about polygons 360 is a very important number.  If are drawing a square we would use a 90 degree rotation, because there are 4 sides. What happens when you multiply 90 by 4?  You get 360.

Today when we are programming in Hopscotch, we will be building on what we learned last week about hexagons and make designs using what we have learned about repeat blocks and polygons.


When you want to create a shape how do you figure out how many degree each turn is?  Well we know that when we add them up it will be 360.  We also know that since we are drawing a regular polygon all the rotations will be the same.  So we can use division to solve our problem.  If you ask Siri, she can divide for you.  to do this you just hold down on the home button until the Siri screen come up and you ask “What is 360 divided by _____”  and let go of the home button.


Here is a chart to get you started:

Programming a Regular Polygon? Use these measurements for the rotations

Sides
Rotation
Total
3
120
360
4
90
360
6
60
360

How many sides will your shapes have? How many different shapes will you use? Can you add extra rotations and repeat blocks to create a more complex pattern?

Is it possible to create a tessellation?


Here is a interesting site that creates tessellations, how would we program that in hopscotch?


Comments