Installing

Install-Module Turtle

Updating

Install-Module Turtle -Force

Importing

Import-Module Turtle

Basics

turtle polygon 42 6

More Examples


Turtle

New-Turtle

New-Turtle

Creates a new turtle.

Creates a brand new turtle.

You can also create an empty turtle simply by calling Get-Turtle with no parameters.

$turtle = New-Turtle 
$turtle.Square(100).Pattern.Save("$pwd/SquarePattern.svg")

$newTurtle = New-Turtle
$newTurtle.Polygon(42, 6)

$NewTurtle = New-Turtle