Home
Project Folders
Teacher Resources
Student Resources
En ESPAÑOL
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

spirals 1 2 3 4 5 6 7 8 9
Spirals 3
Try It
23 KB


Goal:   Find the turning angle to draw spirals shaped like different polygons.


Screenshot


Code
Project Map

to spiral
pd
carefully [repeat 12 [fd howlong rt angle sethowlong howlong + 5]]
[announce [The slider can't go any higher!] stop]
end

to reset
cg
end



Notes

You can make spirals of all different shapes, using a slider.

  1. Make a slider called angle.   Set its minimum to 0 and its maximum to 180.

  2. In the spiral procedure, rt angle means, "Turn right the number of degrees on the angle slider."

  3. As you experiment with different inputs for angle, keep in mind that you are telling the turtle how many degrees to turn before drawing the next line segment.   This is the "outside angle."   To draw a sharp (acute) angle, does the turtle need to turn less than 90 degrees or more than 90 degrees?




What If?
Can you set the angle slider to draw a spiral shaped like a triangle, square, pentagon, hexagon, or octagon? (If you try several, keep track of the angle needed to draw each spiral.)  


Challenge
Can you make a slightly twisting triangle, square, pentagon, hexagon, or octagon?




© copyright 2001 - 2008  OpenWorld Learning.   All rights reserved.