From 67c62d8c9e650f594e9aea348b8ed0c1351c7d81 Mon Sep 17 00:00:00 2001 From: rcoh Date: Thu, 17 Feb 2011 02:45:27 -0500 Subject: Added JPGInput to process images. Modified Input and LightInstallation to support passing multiple inputs simultaeneously. Added FadeIn Pixel event. Needs work / configurability. --- pixelcore/Pixel.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pixelcore') 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) -- cgit v1.2.3