Releases: PowerShellWeb/Turtle
Releases · PowerShellWeb/Turtle
Turtle 0.1.2
Turtle 0.1.2:
Get-Turtle/Turtlecan now get or set properties or methods- New Methods:
Turtle.Distance()determines the distance to a pointTurtle.Towards()determines the angle to a pointTurtle.Home()sends the turtle to 0,0Turtle.lt/rtaliases help original Logo compatibilityTurtle.Save()calls Save-Turtle
- Explicitly exporting commands from module
Turtle 0.1.1:
- Updates:
Turtle.get/set_IDallows for turtle identifiersTurtle.ToString()stringifies the SVG
- Fixes:
- Fixing GoTo/Teleport (#90)
- Fixing Position default (#85) (thanks @ninmonkey !)
- Fixing Turtle Action ID (#89)
- New:
- New Fractals:
Turtle 0.1:
- Initial Release
- Builds a Turtle Graphics engine in PowerShell
- Core commands
Get-Turtle(aliasturtle) runs multiple movesNew-Turtlecreate a turtleMove-Turtleperformas a single moveSet-Turtlechanges a turtleSave-Turtlesaves a turtle
turtle Forward 10 Rotate 120 Forward 10 Roate 120 Forward 10 Rotate 120 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./Triangle.svg- Core Object
.Headingcontrols the turtle heading.Stepsstores a list of moves as an SVG path.IsPenDowncontrols the pen.Forward()moves forward at heading.Rotate()rotates the heading.Square()draws a square.Polygon()draws a polygon.Circle()draws a circle (or partial circle)
- LSystems
- Turtle can draw a L system. Several are included:
BoxFractalGosperCurveHilbertCurveKochCurveKochIslandKochSnowflakeMooreCurvePeanoCurveSierpinskiTriangleSierpinskiCurveSierpinskiSquareCurveSierpinskiArrowheadCurveTerdragonCurveTwinDragonCurve
- Turtle can draw a L system. Several are included:
turtle SierpinskiTriangle 10 4 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./SierpinskiTriangle.svg Turtle 0.1.1
Turtle 0.1.1:
- Updates:
Turtle.get/set_IDallows for turtle identifiersTurtle.ToString()stringifies the SVG
- Fixes:
- Fixing GoTo/Teleport (#90)
- Fixing Position default (#85) (thanks @ninmonkey !)
- Fixing Turtle Action ID (#89)
- New:
- New Fractals:
Turtle 0.1:
- Initial Release
- Builds a Turtle Graphics engine in PowerShell
- Core commands
Get-Turtle(aliasturtle) runs multiple movesNew-Turtlecreate a turtleMove-Turtleperformas a single moveSet-Turtlechanges a turtleSave-Turtlesaves a turtle
turtle Forward 10 Rotate 120 Forward 10 Roate 120 Forward 10 Rotate 120 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./Triangle.svg- Core Object
.Headingcontrols the turtle heading.Stepsstores a list of moves as an SVG path.IsPenDowncontrols the pen.Forward()moves forward at heading.Rotate()rotates the heading.Square()draws a square.Polygon()draws a polygon.Circle()draws a circle (or partial circle)
- LSystems
- Turtle can draw a L system. Several are included:
BoxFractalGosperCurveHilbertCurveKochCurveKochIslandKochSnowflakeMooreCurvePeanoCurveSierpinskiTriangleSierpinskiCurveSierpinskiSquareCurveSierpinskiArrowheadCurveTerdragonCurveTwinDragonCurve
- Turtle can draw a L system. Several are included:
turtle SierpinskiTriangle 10 4 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./SierpinskiTriangle.svg Turtle 0.1
Turtle 0.1:
- Initial Release
- Builds a Turtle Graphics engine in PowerShell
- Core commands
Get-Turtle(aliasturtle) runs multiple movesNew-Turtlecreate a turtleMove-Turtleperformas a single moveSet-Turtlechanges a turtleSave-Turtlesaves a turtle
turtle Forward 10 Rotate 120 Forward 10 Roate 120 Forward 10 Rotate 120 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./Triangle.svg- Core Object
.Headingcontrols the turtle heading.Stepsstores a list of moves as an SVG path.IsPenDowncontrols the pen.Forward()moves forward at heading.Rotate()rotates the heading.Square()draws a square.Polygon()draws a polygon.Circle()draws a circle (or partial circle)
- LSystems
- Turtle can draw a L system. Several are included:
BoxFractalGosperCurveHilbertCurveKochCurveKochIslandKochSnowflakeMooreCurvePeanoCurveSierpinskiTriangleSierpinskiCurveSierpinskiSquareCurveSierpinskiArrowheadCurveTerdragonCurveTwinDragonCurve
- Turtle can draw a L system. Several are included:
turtle SierpinskiTriangle 10 4 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./SierpinskiTriangle.svg