chromatic

package
v0.0.0-...-aacfdc4 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(frame image.Image, bounds location.Bounds) map[int]colorful.Color

func Run

func Run(command <-chan State, status chan ServerStatus, video *v4l.Device, hue *huego.EntertainmentGroup, bounds location.Bounds)

Types

type Processor

type Processor struct {
	ID    int
	Color colorful.Color
}

type ServerStatus

type ServerStatus struct {
	State string
	FPS   int64
}

type State

type State int
const (
	Running State = iota
	Paused
	Stop
	Status
)

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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