effect

package
v0.0.0-...-d0bc179 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_ADJUST_ANGLE = 360.0
View Source
const TEMPERATURE = 3200
View Source
const TRANSITION_MS = 90

Variables

This section is empty.

Functions

This section is empty.

Types

type Colorizer

type Colorizer struct {
	Address uint64
	C       chan colorful.Color
}

func (*Colorizer) Run

func (c *Colorizer) Run()

read colors from a channel and propagate on the lifx network

type Distributor

type Distributor struct {
	Colorizers []Colorizer
	C          chan panel.Panel
}

The distributor's job is to translate Panel messages to individual bulb colors.

func (*Distributor) Run

func (d *Distributor) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL