bibliopixel.layout.geometry.index_ops module¶
These are operations that transform an x, y matrix index.
-
bibliopixel.layout.geometry.index_ops.reflect_x(x, y, matrix)[source]¶ Reflect the index vertically.
-
bibliopixel.layout.geometry.index_ops.reflect_y(x, y, matrix)[source]¶ Reflect the index horizontally.
-
bibliopixel.layout.geometry.index_ops.serpentine_x(x, y, matrix)[source]¶ Every other row is indexed in reverse.