3 - Repetition

  scripts
  sprites
See inside
Instructions

Select a number of repetitions for the chosen polygon:
3 - Triangle
4 - Square
5 - Pentagon
...
Then calculate the angle for the Sprite to turn:
360/3 = 120 for a triangle
360/4 = 90 for a square
360 /5 = 72 for a pentagon...

Exercise: try to convert this to an algorithm by requesting the number of sides and drawing the corresponding regular poligon.

Notes and Credits

Shared: 27 Oct 2015 Modified: 11 Oct 2016
Favorite this project 0
Love this project 0
Total views 40
View the remix tree  1
  
More projects by pasamonte