Hello,
I've recently started programming (Scratch is my first exposure) and am stuck with trying to create a star polygon.
I'm using the <move( )steps> and <turn cw( )degrees> scripts in conjunction with pen/pen down (line drawing).... but am not sure mathematically, which angles to use and how to program the degrees to turn to make a 5-point star (presumably with each side equal in length and each interior angle equal).
Would appreciate any advice on this. Thanks much!
Offline
You going to want to repeat these steps:
[blocks]
<repeat( 5 )
<move( any number)steps>
<turn cw( 144 )degrees>
[/blocks]
If you accually want it to draw something, you're going to need to use the pen blocks, but 144 is the degree number you want to use.
Offline