Releases: PowerShellWeb/Turtle
Releases · PowerShellWeb/Turtle
Turtle 0.2.1
Turtle 0.2.1:
- New Documentation:
- Over 130 examples!
- A Brief History of Turtles (#249)
- Website improvements
- Major improvements
- A turtle can now be any element!
- Support for CSS keyframes, styles, and variables!
- Vastly expanded SVG support, including bezier curves!
- CircleArcs and Pie Graphs! Improvements to circles.
Turtlecommand improvements:Get-TurtleSave-TurtleShow-Turtlewill show the turtle (#257)
- New methods:
Turtle.a/Arc(#231)Turtle.b/BezierCurve(#228)Turtle.CircleArc(#235)Turtle.c/CubicBezierCurve(#230)Turtle.FractalShrub(#332)Turtle.Leg(#288)Turtle.Pie/PieGraph(#239)Turtle.q/QuadraticBezierCurve(#229)Turtle.Repeat(#256)Turtle.Spider(#289)Turtle.Spiderweb(#290)Turtle.Spokes(#291)Turtle.Sun(#297)Turtle.Show(#258)
- New properties:
Turtle.get_ArgumentList(#296)Turtle.get/set_Attribute(#247)Turtle.get/set_Class(#237)Turtle.get_Commands(#250)Turtle.get_DataBlock(#284)Turtle.get/set_Element(#248)Turtle.get/set_Defines(#243)Turtle.get_ScriptBlock(#253)Turtle.get/set_Defines(#243)Turtle.get/set_Keyframe(s)(#251)Turtle.get_History(#279)Turtle.get/set_Link/Href(#241)Turtle.get/set_Locale(#300)Turtle.get_Marker(#227)Turtle.get/set_MarkerEnd(#233)Turtle.get/set_MarkerMiddle(#234)Turtle.get/set_MarkerStart(#232)Turtle.get/set_Opacity(#293)Turtle.get/set_Precision(#225)Turtle.ResizeViewBox(#238)Turtle.get/set_Start(#245)Turtle.get/set_Style(#254)Turtle.get/set_Variable(#263)Turtle.get/set_Title(#285)
- New pseudo type:
Turtle.HistoryTurtle.js(experimental)- Javascript version of turtle (#302)
- Initial Core Operations:
Turtle.js.heading(#303)Turtle.js.rotate(#304)Turtle.js.forward(#305) (#337) (#338)Turtle.js.isPenDown(#306)Turtle.js.goTo(#307)Turtle.js.step(#308)Turtle.js.teleport(#309) (#334)Turtle.js.steps(#310)Turtle.js.min(#311)Turtle.js.max(#312)Turtle.js.resize(#313)Turtle.js.x(#314)Turtle.js.y(#315)Turtle.js.width(#316)Turtle.js.height(#317)Turtle.js.pathData(#318) (#339)Turtle.js.polygon(#319) (#336) (#338)Turtle.js.penUp(#322)Turtle.js.penDown(#323)Turtle.js.parse(#327)Turtle.js.go(#330)Turtle.js.ToString.ps1()(#320)Turtle.js.get_JavaScript.ps1(#324)
- Thanks @ninmonkey for early testing!
- Improved methods:
- Improvemented Properties:
- Adding
[OutputType([xml])]to properties that output XML (#266) Turtle.get_Durationdefaults (#270)Turtle.get_Mask/PatternMaskreturns only the mask (#261)Turtle.set_BackgroundColorapplies to SVG directly (#260)Turtle.get_Maximumis a vector (#275)Turtle.get_Minimumis a vector (#276)Turtle.get_Positionis a vector (#274)Turtle.set_Strokesupports gradients (#295)Turtle.set_Fillsupports gradients (#294)Turtle.set_PathAnimationwill not overwrite a morph (#244)Turtle.get/set_PatternAnimationuses duration (#299) and improved docs (#298)Turtle.get_TextElementdefaults to centered text (#265)Turtle.get_TextElementimproved color support (#292)Turtle.get_ViewBoxnegative bounds (#286)
- Adding
- More aliases:
- Fixed extra output in
Turtle.Pop(#264)
Additional details available in the CHANGELOG
Please:
- Like
- Share
- Subscribe
- Sponsor StartAutomating
Turtle 0.2.0
Turtle 0.2:
Turtles All The Way Down
A turtle can now contain .Turtles
Which can contain .Turtles
Which can contain .Turtles
Which can contain .Turtles...
Additional details available in the CHANGELOG
Please:
- Like
- Share
- Subscribe
- Sponsor StartAutomating
Turtle 0.1.10
Turtle 0.1.9
Turtle 0.1.8
Turtle 0.1.7
Turtle 0.1.6
Turtle 0.1.6:
- Vastly expanded Get-Turtle examples (#149)
- Check out https://psturtle.com/Commands/Get-Turtle
- New L-Systems:
- Fixing KochCurve parameter order (#147)
- Added New-Turtle docs (#148)
Additional details available in the CHANGELOG
Turtle 0.1.5
Turtle 0.1.4
Turtle 0.1.3
Turtle 0.1.3
- Fixing
Get-Turtleinline sets (#108, #107) - Fixing
.PNG/JPEG/WEBPto no longer try to use msedge (#110) - Adding
Turtle.get/set_FillRuleto get or set the fill rule for the turtle. (#109)
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