Skip to content

Commit 100f765

Browse files
StartAutomatingStartAutomating
authored andcommitted
docs: Turtle.StepSpiral ( Fixes #122 )
Adding examples
1 parent 08ab953 commit 100f765

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Turtle.types.ps1xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,12 @@ foreach ($n in 1..$Points) {
14781478
By default, this creates an outward spiral.
14791479

14801480
To create an inward spiral, use a negative StepSize or StepCount.
1481+
.EXAMPLE
1482+
turtle StepSpiral save ./StepSpiral.svg
1483+
.EXAMPLE
1484+
turtle @('StepSpiral',3, 120, 'rotate',120 * 3) save ./StepSpiralx3.svg
1485+
.EXAMPLE
1486+
turtle @('StepSpiral',3, 90, 'rotate',90 * 3) save ./StepSpiralx4.svg
14811487
#>
14821488
param(
14831489
# The length of the first step

0 commit comments

Comments
 (0)