bibliopixel.layout.circle module

class bibliopixel.layout.circle.Circle(drivers, rings=[], pixels_per=None, maxAngleDiff=0, rotation=0, reverse_angle=False, threadedUpdate=False, brightness=255, **kwargs)[source]

Bases: bibliopixel.layout.layout.Layout

CLONE_ATTRS = ('maker', 'brightness', 'rings', 'pixels_per', 'maxAngleDiff', 'rotation', 'reverse_angle')
angleToPixel(angle, ring)[source]
drawRadius(angle, color, startRing=0, endRing=-1)[source]
fillRing(ring, color, startAngle=0, endAngle=None)[source]
get(ring, angle)[source]

Get RGB color tuple of color at index pixel

lastRing
set(ring, angle, color)[source]

Set pixel to RGB color tuple

shape

Returns ringCount, ringSteps.

bibliopixel.layout.circle.LEDCircle

alias of bibliopixel.layout.circle.Circle