Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicEffect ¶
func (BasicEffect) Priotity ¶
func (e BasicEffect) Priotity() int
type ColorFunc ¶
ColorFunc is used by effects to provide colors. Often placed under Effect.color
func NewColorFuncHueBounce ¶
func NewColorFuncHueBounce(colorStart, colorEnd color.HSLA, direction int, shiftFunc ShiftFunc) ColorFunc
NewColorFuncStatic creates a ColorFunc which produces shifting colors, bouncing between colorStart and colorEnd, starting at colorStart and shifting in the direction specified by upSpectrum
func NewColorFuncHueShift ¶
NewColorFuncStatic creates a ColorFunc which produces shifting colors starting at colorStart.
func NewColorFuncStatic ¶
NewColorFuncStatic creates a ColorFunc which only produces onlyColor.
type ShiftFunc ¶
func NewShiftFuncLinear ¶
Click to show internal directories.
Click to hide internal directories.