bibliopixel.layout.geometry.strip module

class bibliopixel.layout.geometry.strip.Strip[source]

Bases: abc.ABC

Base class for contiguous strips. You can also use a list as a Strip.

bibliopixel.layout.geometry.strip.fill(strip, item, start=0, stop=None, step=1)[source]

Fill a portion of a strip from start to stop by step with a given item. If stop is not given, it defaults to the length of the strip.

bibliopixel.layout.geometry.strip.make_strip_coord_map(num, invert=False, offset=0)[source]
bibliopixel.layout.geometry.strip.make_strip_coord_map_multi(config, invert=False)[source]
bibliopixel.layout.geometry.strip.make_strip_coord_map_positions(num)[source]