aboutsummaryrefslogtreecommitdiff
path: root/layouts/ZigzagLayout.py
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/ZigzagLayout.py')
-rw-r--r--layouts/ZigzagLayout.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/layouts/ZigzagLayout.py b/layouts/ZigzagLayout.py
index 3fc2ea1..665d14e 100644
--- a/layouts/ZigzagLayout.py
+++ b/layouts/ZigzagLayout.py
@@ -1,14 +1,5 @@
from operationscore.PixelAssembler import *
import pdb
-#Slightly more complex layout class that makes a zig-Zag Led Pattern
-#Inheriting classes must specify zigLength, the length in lights of a of a zig
-#and zig Axis, the direction of the long X axis (X or Y).
-#EG: zig length = 4, zig Axis = X would give:
-# X-X-X-X
-# |
-# X-X-X-X
-# |
-# X-X-X-X etc.
class ZigzagLayout(PixelAssembler):
"""ZigZagLayout is a slightly more complex layout class that makes a zig-Zag Led Pattern
Inheriting classes must specify zigLength, the length in lights of a of a zig
@@ -18,7 +9,7 @@ class ZigzagLayout(PixelAssembler):
|
X-X-X-X
|
- X-X-X-X etc.
+ X-X-X-X etc."""
def initLayout(self):
if not 'zigLength' in self.argDict:
raise Exception('zigLength must be defined in argDict')