Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorModel ¶
type ColorModel = func(angle, radius, height float64) colorful.Color
type DistanceFunc ¶
type DistanceFunc = func(c1, c2 colorful.Color) float64
type Palette ¶
type Palette struct {
// contains filtered or unexported fields
}
func NewPalette ¶
func NewPalette(angleShift, baseRadius, baseHeight float64, model ColorModel, dist DistanceFunc, tweaks map[byte][3]byte) (*Palette, error)
Click to show internal directories.
Click to hide internal directories.