File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 44. DESCRIPTION
55 Draws spokes of a wheel, or sticks around a point.
66. NOTES
7- This was adapter from Cynthia Solomon's example on LogoThings
7+ This was adapted from Cynthia Solomon's example on LogoThings
88. LINK
99 https://logothings.github.io/logothings/logo/Sticks.html
10+ . EXAMPLE
11+ turtle spokes 42 4
1012. EXAMPLE
1113 turtle spokes 42 5
1214. EXAMPLE
1315 turtle spokes 42 6
1416. EXAMPLE
15- turtle spokes 42 8
17+ turtle spokes 42 8
1618. EXAMPLE
1719 turtle spokes 42 6 morph @(
1820 turtle spokes 42 6
@@ -87,6 +89,6 @@ $SpokeCount = 6
8789$spokeAngle = 360 / $SpokeCount
8890
8991foreach ($n in 1 .. $ ([Math ]::Abs($SpokeCount ))) {
90- $this = $this.Forward ($radius ).Backward($radius * 2 ).Forward( $radius ).Rotate($spokeAngle )
92+ $this = $this.Forward ($radius ).Backward($radius ).Rotate($spokeAngle )
9193}
9294return $this
You can’t perform that action at this time.
0 commit comments