package
0.0.0-20210814030615-20d9937ca4d0
Repository: https://github.com/dantulovsky/turtle.git
Documentation: pkg.go.dev

# Functions

NewPalette returns the gradient color palette.
NewPoint returns a new point.
NewTurtle returns a new turtle centered at pos rotate controls rotation of the entire drawing by n°.
Run runs the simulation with the given turtle.
ShowDocs prints out usage documentation.

# Structs

Point is a point on a 2D plane.
State is the turtle state.
Turtle allows drawing on a canvas.

# Type aliases

GradientTable contains the "keypoints" of the colorgradient you want to generate.