Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GradientTable ¶
type GradientTable []struct { Col colorful.Color Pos float64 }
func GetGradientTable ¶
func GetGradientTable() GradientTable
func (GradientTable) GetInterpolatedColorFor ¶
func (gt GradientTable) GetInterpolatedColorFor(t float64) colorful.Color
GetInterpolatedColorFor is borrowed from https://github.com/lucasb-eyer/go-colorful
Click to show internal directories.
Click to hide internal directories.