diff options
author | rcoh <rcoh@mit.edu> | 2011-02-17 02:45:27 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-02-17 02:45:27 -0500 |
commit | 67c62d8c9e650f594e9aea348b8ed0c1351c7d81 (patch) | |
tree | e71d7ac7fc2538eda3e43e8e591342cab9620d06 /pixelcore | |
parent | 2df9e408a0ff74539862c4a4e562a878cc11a329 (diff) |
Added JPGInput to process images. Modified Input and LightInstallation to support passing multiple
inputs simultaeneously. Added FadeIn Pixel event. Needs work / configurability.
Diffstat (limited to 'pixelcore')
-rw-r--r-- | pixelcore/Pixel.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pixelcore/Pixel.py b/pixelcore/Pixel.py index cf5a328..308e7ea 100644 --- a/pixelcore/Pixel.py +++ b/pixelcore/Pixel.py @@ -66,6 +66,8 @@ class Pixel: deadEvents.append(eventObj) resultingColor = color.combineColors(colors) + #if colors: + # resultingColor = [c / len(colors) for c in resultingColor] [self.events.remove(event) for event in deadEvents] resultingColor = [int(round(c)) for c in resultingColor] self.lastRender = tuple(resultingColor) |