From 9c9babfa7032b443138c4b457aabaf79fad385b3 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Fri, 26 Nov 2010 00:07:14 -0500 Subject: Add PixelMapper functionality to abstract away from mapping locations->Pixels. --- config/MouseFollowerDemo.xml | 138 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 config/MouseFollowerDemo.xml (limited to 'config/MouseFollowerDemo.xml') diff --git a/config/MouseFollowerDemo.xml b/config/MouseFollowerDemo.xml new file mode 100644 index 0000000..9e9f6e5 --- /dev/null +++ b/config/MouseFollowerDemo.xml @@ -0,0 +1,138 @@ + + + + + + layouts.ZigzagLayout + + strip1 + 25 + X + -1 + 12 + 12 + 50 + (10,10) + + + + layouts.ZigzagLayout + + strip2 + 25 + X + 1 + 12 + 12 + 50 + (10,30) + + + + + + renderers.PygameRenderer + + (1300,50) + + + + renderers.IndoorRenderer + + + 10.1.218.72 + {'strip1':1, 'strip2':2} + + + + + + + inputs.PygameInput + + pygame + 100 + + + + inputs.PygameInput + + followmouse + True + 100 + + + + inputs.UDPInput + + UDP + 6038 + 100 + + + + + + behaviors.EchoBehavior + + echo + 0 + False + + + + + + behaviors.ColorChangerBehavior + + color + 0 + False + + + + + + behaviors.DecayBehavior + + decay + Exponential + .01 + 0 + False + + + + + + behaviors.DebugBehavior + + debug + 0 + + UDP + + + + + behaviors.BehaviorChain + + + followmouse + + + echo + color + decay + + True + + + + -- cgit v1.2.3