Polygons

The November Scratch challenge is to create a program that draws regular polygons of N sides, with 4 <= N <= 20. The original challenge had N going to 100, but I reduced the sides to 20 so that students would not need to worry about the length of the sides - the more sides, the shorter each side must be so the figure fits on the screen.

The math element is that the sum of the angles equals 360 degrees. The students needed to divide 360 by the number of sides so their corners were the correct angle. I am sure they would be happy to share their code with you.

Here is the challenge handout.
Here are the programs submitted by the end of November.

Important: You need to set the number of sides when you first start any of the programs. Even if you want the number showing in the sides box, you need to click on the little slider ball. This will make more sense when you see the programs on your screen.

Another note: Some students choose to slow their programs down on purpose (Scratch provides a "wait" statement) so that it takes a little longer to draw the polygon.

Ryan
Nick
Dylan
Jack

PVSD     Preschool     Ormondale      Corte Madera