From 83242972c09032eb89dd547f3ff3c4dcc2693555 Mon Sep 17 00:00:00 2001 From: rcoh Date: Mon, 14 Feb 2011 01:51:43 -0500 Subject: Fixed some threading bugs. Modified LightInstallation.py so that Behaviors are *Only* run if they are marked to be rendered. Fixed a threading issue tied to the component registry. --- config/C5Sign.xml | 155 +++++++++++++++++++++++++----------------------------- 1 file changed, 73 insertions(+), 82 deletions(-) (limited to 'config/C5Sign.xml') diff --git a/config/C5Sign.xml b/config/C5Sign.xml index d4abdc1..a05cb1e 100644 --- a/config/C5Sign.xml +++ b/config/C5Sign.xml @@ -26,22 +26,30 @@ 1 + + pixelmappers.C5SignMapper + + c5signmapper + 20 + + renderers/C5Renderer.xml - + renderers/Pygame.xml - inputs.PygameInput + inputs.ContinuousLocationInput - pygameclick - 10 - True + centerleft + left + center + 1800 @@ -72,20 +80,9 @@ inputs.ContinuousCenterInput center - 1800 + 700 - - - inputs/MouseFollower.xml - @@ -94,15 +91,56 @@ behaviors.TouchOSC - - behaviors/RandomColor.xml + + behaviors/PixelDecay.xml + + .001 + + + + behaviors.ModifyParam + + incrVertBarLoc + xLoc + {val}+1 + + + + behaviors.VerticalBar - + vertBar + + behaviors.BehaviorChain + + bar_move + + vertBar + incrVertBarLoc + recursivedecay + + + + + behaviors.BehaviorChain + + scanningbars + + centerleft + + + colorchange + mover + slowdecay + + {'mover':'bar_move'} + False + + + + behaviors/RandomColor.xml + behaviors.BehaviorChain @@ -115,7 +153,7 @@ decay gaussmap - True + False @@ -124,12 +162,6 @@ behaviors/SingleFrame.xml - - behaviors/PixelDecay.xml - - .01 - - behaviors.XYMove @@ -168,24 +200,18 @@ - - behaviors.ModifyParam - - ysin - YStep - Sensor - 4*math.sin({x}/float(40)) - - behaviors.TimeSwitch main + centerleft center - {'runcolordecay':10,'expandingcircles':10} - False + {'scanningbars':10,'runcolordecay':10,'expandingcircles':10} + {'scanningbars':'centerleft', 'runcolordecay':'center',\ + 'expandingcircles':'center'} + True @@ -206,10 +232,10 @@ 20 - + behaviors/LoopAndDie.xml - + behaviors/LoopAndDie.xml @@ -233,45 +259,12 @@ mover - - behaviors.RandomWalk - - randmovement - 2 - - - - behaviors/Accelerate.xml - - - behaviors.EchoBehavior - - echo - 0 - False - - behaviors.ColorShift colorshift - - behaviors.BehaviorChain - - mousechaser - - - - echo - innercircle - outercircle - singleframe - - False - - behaviors.Circle @@ -292,7 +285,7 @@ behaviors.ModifyParam incrinner - {val}+.3 + {val}+.6 innercircleRadius @@ -300,7 +293,7 @@ behaviors.ModifyParam incrouter - {val}+.3 + {val}+.6 outercircleRadius @@ -324,13 +317,11 @@ colorchange mover - singleframe + decay + {'mover':'circle_expand'} - - behaviors/RunningBehavior.xml - -- cgit v1.2.3