Package SmootLight :: Package layouts :: Module LineLayout
[hide private]
[frames] | no frames]

Source Code for Module SmootLight.layouts.LineLayout

1  from operationscore.PixelAssembler import * 
2 -class LineLayout(PixelAssembler):
3 """LineLayout is a layout class that makes a line of LEDs"""
4 - def layoutFunc(self, lastLocation):
5 return (lastLocation[0]+self.argDict['spacing'], lastLocation[1])
6