Save-Turtle
Saves a turtle.
Saves Turtle graphics to a file.
turtle SierpinskiTriangle 42 4 |
Save-Turtle ./SierpinskiTriangle-42-4.svg
We can save a turtle as a pattern by using -Property Pattern
turtle Flower 42 |
Save-Turtle ./Flower-42.svg -Property Pattern
We can also save a turtle as a pattern by naming the file with Pattern in it.
turtle Flower 42 10 6 36 |
Save-Turtle ./HexFlowerPattern.svg
Move-Turtle BoxFractal 15 5 |
Set-Turtle Stroke '#4488ff' |
Save-Turtle ./BoxFractal.png