//
pkg.gl
Category
github.com/BoskyWSMFN/go-rpi-rgb-led-matrix
pkg
canvas
package
0.0.0-20211202145420-57c47e716371
Repository:
https://github.com/boskywsmfn/go-rpi-rgb-led-matrix.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
7
Files
265 SLOC
#
Functions
NewCanvas
NewCanvas returns a new Canvas using the given width and height and creates a new WS281x matrix using the given config.
NewToolKit
NewToolKit returns a new ToolKit wrapping the given Matrix.
#
Structs
Canvas
Canvas is an image.Image representation of a WS281x matrix, it implements image.Image interface and can be used with draw.Draw for example.
ToolKit
ToolKit is a convinient set of function to operate with a led of Matrix.
#
Interfaces
Animation
No description provided by the author
Matrix
Matrix is an interface that represent any RGB matrix, very useful for testing.