Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( White = Color{1.0, 1.0, 1.0} Black = Color{0.0, 0.0, 0.0} )
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct {
R, G, B float64
}
Color defines the basic Red/Green/Blue as raw float64 values
func (Color) PixelValue ¶
PixelValue converts a raw Color into a pixel value (0-255) packed into a uint32
Click to show internal directories.
Click to hide internal directories.