bibliopixel.layout.cube module

class bibliopixel.layout.cube.Cube(drivers, x, y, z, coord_map=None, threadedUpdate=False, brightness=255, **kwargs)[source]

Bases: bibliopixel.layout.layout.Layout

CLONE_ATTRS = ('maker', 'brightness', 'x', 'y', 'z')
get(x, y, z)[source]
get_pixel_positions()[source]
set(x, y, z, color)[source]
setHSV(x, y, z, hsv)[source]

Set single pixel to HSV tuple

setRGB(x, y, z, r, g, b)[source]

Set single pixel using individual RGB values instead of tuple

shape

Returns x, y, z

bibliopixel.layout.cube.LEDCube

alias of bibliopixel.layout.cube.Cube