Documentation ¶
Index ¶
- func AlternateRGBLinear(R0 byte, G0 byte, B0 byte, R1 byte, G1 byte, B1 byte, fromX int, toX int) []byte
- func Even(number int) bool
- func FillPanel(w int, h int, r byte, g byte, b byte) [][]RGBcolor
- func FillPanelRGB(w int, h int, colour RGBcolor) [][]RGBcolor
- func Gradient(fromR byte, fromG byte, fromB byte, toR byte, toG byte, toB byte, fromX int, ...) []byte
- func GradientPanel(w int, h int, fromColour RGBcolor, toColour RGBcolor) [][]RGBcolor
- func LinearPlasma(l int) []byte
- func PlasmaColourPanel(w int, h int, speed uint16) [][]RGBcolor
- func PlasmaPanel(w int, h int, speed uint16) [][]RGBcolor
- func RandomColourPanel(w int, h int, speed uint16) [][]RGBcolor
- func RedPanel(w int, h int) [][]RGBcolor
- func SineChase(w int, h int, bgColor RGBcolor, fgColor RGBcolor, speed uint16) [][]RGBcolor
- func Sinewave(w int, h int, bgColor RGBcolor, fgColor RGBcolor, speed uint16) [][]RGBcolor
- func ZigZag(w int, h int) [][]RGBcolor
- type RGBcolor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlternateRGBLinear ¶
func Gradient ¶
func Gradient(fromR byte, fromG byte, fromB byte, toR byte, toG byte, toB byte, fromX int, toX int) []byte
gradient returns from fromX to toX fading from (fromR,fromG,fromB) to (toR,toG,toB) at least that's the idea.
func GradientPanel ¶
func LinearPlasma ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.