Documentation ¶ Index ¶ type Sketch func NewSketch(source image.Image, userParams UserParams) *Sketch func (s *Sketch) Output() image.Image func (s *Sketch) Update() type UserParams Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Sketch ¶ type Sketch struct { UserParams // embed for easier access // contains filtered or unexported fields } func NewSketch ¶ func NewSketch(source image.Image, userParams UserParams) *Sketch func (*Sketch) Output ¶ func (s *Sketch) Output() image.Image func (*Sketch) Update ¶ func (s *Sketch) Update() type UserParams ¶ type UserParams struct { StrokeRatio float64 DestWidth int DestHeight int InitialAlpha float64 StrokeReduction float64 AlphaIncrease float64 StrokeInversionThreshold float64 StrokeJitter int MinEdgeCount int MaxEdgeCount int } Source Files ¶ View all Source files sketch.go Click to show internal directories. Click to hide internal directories.