Documentation ¶
Overview ¶
Package animations provides preprogrammed animations You can use in github.com/franeklubi/ledgend!
Example usage:
buffer.AddAnimation(animations.FromMiddleFullSweep( ledgend.Color{5, 5, 5}, ledgend.Color{8, 8, 8}, time.Millisecond*1000, ))
Index ¶
- func FromMiddleFullSweep(start_col, end_col Color, duration time.Duration, start_time time.Time) (Animation, Animation)
- func GradientOverTime(direction bool, start_pos, length float64, ...) []Animation
- func Pulse(direction bool, start_pos, length float64, ...) (Animation, Animation)
- func Strobo(start_col_a, end_col_a, start_col_b, end_col_b Color, ...) []Animation
- func Sweep(direction bool, start_pos, length float64, start_col, end_col Color, ...) Animation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromMiddleFullSweep ¶
func GradientOverTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.