bibliopixel.layout.geometry.matrix module¶
-
class
bibliopixel.layout.geometry.matrix.
Matrix
(strip, columns=None, rows=None, reflect_x=False, reflect_y=False, serpentine_x=False, serpentine_y=False, transpose=False)[source]¶ Bases:
object
Map a matrix onto a strip of lights.
-
bibliopixel.layout.geometry.matrix.
make_matrix_coord_map
(dx, dy, serpentine=True, offset=0, rotation=0, y_flip=False)[source]¶ Helper method to generate X,Y coordinate maps for strips