From b335b746523ffd59db1402b097a802b3fd99eaac Mon Sep 17 00:00:00 2001 From: rcoh Date: Wed, 8 Dec 2010 16:39:50 -0500 Subject: Code for the demo. Everything works afaik. Contains a couple more optimizations. Contains modify param behavior. Improved support for recursive hooks. Modifications to SmootCoreObject to get us closer to a fully multi-threaded system. This should be the last commit directly to master. All further commits should be on subranches and get merged. --- config/Outdoor.xml | 252 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 252 insertions(+) create mode 100644 config/Outdoor.xml (limited to 'config/Outdoor.xml') diff --git a/config/Outdoor.xml b/config/Outdoor.xml new file mode 100644 index 0000000..7f054f0 --- /dev/null +++ b/config/Outdoor.xml @@ -0,0 +1,252 @@ + + + + + layouts.LineLayout + + strip1 + 4 + 4 + 50 + (10,20) + + + + layouts.LineLayout + + strip2 + 4 + 4 + 50 + (10,24) + + + + layouts.LineLayout + + strip3 + 4 + 4 + 50 + (10,28) + + + + layouts.LineLayout + + strip4 + 4 + 4 + 50 + (10,32) + + + + layouts.LineLayout + + strip5 + 4 + 4 + 50 + (10,36) + + + + layouts.LineLayout + + strip6 + 4 + 4 + 50 + (10,40) + + + + + + + pixelmappers.GaussianMapper + + gaussmap + 20 + 3 + 1 + + + + + + renderers.PygameRenderer + + pygamerender + (1300,50) + + + + renderers.IndoorRenderer + + indoorRenderer + + 10.31.255.233 + {'strip1':1, 'strip2':2} + + + 10.32.97.17 + {'strip3':1, 'strip4':2} + + + 10.32.96.211 + {'strip5':1, 'strip6':2} + + + + + + + inputs.PygameInput + + pygame + 100 + + + + inputs.PygameInput + + followmouse + 10 + True + + + + inputs.UDPInput + + UDP + 6038 + 100 + + + + + + behaviors.EchoBehavior + + echo + 0 + False + + + + + + behaviors.ColorChangerBehavior + + colorchange + 0 + False + + + pygame + + + + + behaviors.DecayBehavior + + decay + Exponential + .01 + 0 + False + + + + + + behaviors.DebugBehavior + + debug + 0 + + pygame + + + + + behaviors.RecursiveDecay + + recursivedecay + 70 + + + + behaviors.BehaviorChain + + runcolordecay + + pygame + + + colorchange + running + decay + + {'running':'acceleratedie'} + True + + + + behaviors.ModifyParam + + accelerate + Sensor + StepSize + {val}*1.05 + + + + behaviors.BehaviorChain + + acceleratedie + + accelerate + recursivedecay + + + + + behaviors.BehaviorChain + + mousechaser + + followmouse + + + echo + colorchange + decay + + True + + + + behaviors.RunningBehavior + + running + + pygame + + 1 + False + + + + -- cgit v1.2.3