aboutsummaryrefslogtreecommitdiff
path: root/operationscore/PixelEvent.py
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2010-11-26 00:07:14 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2010-11-26 00:07:14 -0500
commit9c9babfa7032b443138c4b457aabaf79fad385b3 (patch)
treef9bf3e8b51423bf6769d2c655ffa15d81a42333f /operationscore/PixelEvent.py
parent1754a1f4511ef52f0a093dd0f9915196bd4261e7 (diff)
Add PixelMapper functionality to abstract away from mapping locations->Pixels.
Diffstat (limited to 'operationscore/PixelEvent.py')
-rw-r--r--operationscore/PixelEvent.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/operationscore/PixelEvent.py b/operationscore/PixelEvent.py
index 07669cd..8567d93 100644
--- a/operationscore/PixelEvent.py
+++ b/operationscore/PixelEvent.py
@@ -8,6 +8,8 @@ class PixelEvent(SmootCoreObject):
self.initEvent()
def initEvent(self):
pass
+ def scale(c):
+ self['Color'] *= c
def state(self,timeDelay):
pass