aboutsummaryrefslogtreecommitdiff
path: root/layouts/LineLayout.py
blob: 34f5e362554505b621888ccc0aaee63fc7ece204 (plain)
1
2
3
4
5
from operationscore.PixelAssembler import *
#Simple layout class that simply makes a line of LEDs
class LineLayout(PixelAssembler):
    def layoutFunc(self, lastLocation):
        return (lastLocation[0]+self.argDict['spacing'], lastLocation[1])