Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Combo ¶
Combo is a Bender which provides a single unchanging bend
func (*Combo) GetStabilizeFuncs ¶
GetStabilizeFuncs returns StabilizeFunc for all remaining unstablaized traits
type Exponential ¶
Exponential is a Bender which provides a single unchanging bend
func (Exponential) Bend ¶
func (b Exponential) Bend(f float64) float64
Bend returns a value representing some change or bend
func (Exponential) Copy ¶
func (b Exponential) Copy() common.Bender
Copy returns a deep copy of the Bender
func (*Exponential) GetStabilizeFuncs ¶
func (b *Exponential) GetStabilizeFuncs() []func(p common.Palette)
GetStabilizeFuncs returns StabilizeFunc for all remaining unstablaized traits
func (Exponential) String ¶
func (b Exponential) String() string
String returns a string representation of the Bender
type Linear ¶
type Linear struct {
Coefficient float64
}
Linear is a Bender which provides a bend which changes linearly
func (*Linear) GetStabilizeFuncs ¶
GetStabilizeFuncs returns StabilizeFunc for all remaining unstablaized traits
type Sinusoidal ¶
Sinusoidal is a Bender which provides a single unchanging bend
func (Sinusoidal) Bend ¶
func (b Sinusoidal) Bend(f float64) float64
Bend returns a value representing some change or bend
func (Sinusoidal) Copy ¶
func (b Sinusoidal) Copy() common.Bender
Copy returns a deep copy of the Bender
func (*Sinusoidal) GetStabilizeFuncs ¶
func (b *Sinusoidal) GetStabilizeFuncs() []func(p common.Palette)
GetStabilizeFuncs returns StabilizeFunc for all remaining unstablaized traits
func (Sinusoidal) String ¶
func (b Sinusoidal) String() string
String returns a string representation of the Bender