Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
Bar is a strait bar of lights
func NewBar ¶
func NewBar(id uuid.UUID, sender addressable.Sender, bearings *space.Object, spacing addressable.Spacing, leds int) *Bar
NewBar creates a new Bar
func (Bar) DispatchRender ¶
Render calls render on the underlying line
func (Bar) GetNodeInfos ¶
GetNodeInfos returns all the Nodes which the device holds
func (Bar) MarshalJSON ¶
func (*Bar) UnmarshalJSON ¶
type Ring ¶
Ring is a ring of LEDs
func NewRing ¶
func NewRing(id uuid.UUID, sender addressable.Sender, bearings *space.Object, spacing addressable.Spacing, leds int, radius float64, aspect addressable.Aspect) Ring
NewRing returns a new Ring
func (Ring) DispatchRender ¶
DispatchRender calls render on each of the rings and then appends all the lights
func (Ring) GetNodeInfos ¶
GetNodeInfos returns all the Nodes which the device holds
func (Ring) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.