Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainedTween ¶
type ChainedTween []TweenPoint
ChainedTween allows linear interpolation between multiple colors Simple resulting color will be interpolation between that two points that contain t, interpolation is of corse relative and smooth
type ConstantTween ¶
ConstantTween is wrapper around mat.RGBA that implements Gradient, but it does nothing with the value
type LinearTween ¶
LinearTween supports linear interpolation between two colors encapsulated in struct for interface reasons
type RandomGenerator ¶
RandomGenerator generates random color in range between two colors
func (RandomGenerator) Gen ¶
func (r RandomGenerator) Gen() mat.RGBA
Gen implements generator interface
Click to show internal directories.
Click to hide internal directories.