diff options
author | dxiao <dxiao@mit.edu> | 2011-02-13 04:08:05 -0500 |
---|---|---|
committer | dxiao <dxiao@mit.edu> | 2011-02-13 04:08:05 -0500 |
commit | fc141723d2a926d1a07e47eb3a9be6618986bf50 (patch) | |
tree | f0de17e59d2acc29df09d3a7df57abc1e87e04e6 /config | |
parent | 5de7f02a2b7bd8e79847311da834f025421726c6 (diff) | |
parent | f6dd5ab92949843d2fb163e2d84f19e824a291dc (diff) |
Merge branch 'conner5' of github.com:dxiao/SmootLight into conner5
Conflicts:
config/C5Sign.xml
Diffstat (limited to 'config')
-rw-r--r-- | config/C5Sign.xml | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/config/C5Sign.xml b/config/C5Sign.xml index 6160b11..f193c39 100644 --- a/config/C5Sign.xml +++ b/config/C5Sign.xml @@ -22,7 +22,7 @@ <Id>gaussmap</Id> <CutoffDist>30</CutoffDist> <MinWeight>0.1</MinWeight> - <Width>10</Width> + <Width>7</Width> <Height>1</Height> </Args> </PixelMapper> @@ -45,6 +45,14 @@ </Args> </InputElement> <InputElement> + <Class>inputs.OSCInput</Class> + <Args> + <Id>osc</Id> + <Port>1234</Port> + <RefreshInterval>10</RefreshInterval> + </Args> + </InputElement> + <InputElement> <Class>inputs.PygameInput</Class> <Args> <Id>pygamekey</Id> @@ -73,6 +81,12 @@ </InputElement> </InputConfiguration> <BehaviorConfiguration> + <Behavior> + <Args> + <Id>touchosc</Id> + </Args> + <Class>behaviors.TouchOSC</Class> + </Behavior> <Behavior Id="colorchange"> <InheritsFrom>behaviors/RandomColor.xml</InheritsFrom> <Args> @@ -82,6 +96,21 @@ </ColorList> </Args> </Behavior> + <Behavior> + <Class>behaviors.BehaviorChain</Class> + <Args> + <Id>OSCTouchChase</Id> + <Inputs> + <Id>osc</Id> + </Inputs> + <ChainedBehaviors> + <Id>touchosc</Id> + <Id>decay</Id> + </ChainedBehaviors> + <Mapper>gaussmap</Mapper> + <RenderToScreen>True</RenderToScreen> + </Args> + </Behavior> <Behavior Id="decay"> <InheritsFrom>behaviors/PixelDecay.xml</InheritsFrom> </Behavior> @@ -98,8 +127,8 @@ <Class>behaviors.XYMove</Class> <Args> <Id>xymove</Id> - <XStep>5</XStep> - <YStep>2</YStep> + <XStep>1</XStep> + <YStep>1</YStep> </Args> </Behavior> <Behavior> @@ -108,7 +137,7 @@ <Id>xbounce</Id> <Action>{val}*-1</Action> <ParamName>XStep</ParamName> - <LocationRestriction>{x}<0 or {x}>200</LocationRestriction> + <LocationRestriction>{x}<2 or {x}>48</LocationRestriction> </Args> </Behavior> <Behavior> @@ -117,7 +146,7 @@ <Id>ybounce</Id> <Action>{val}*-1</Action> <ParamName>YStep</ParamName> - <LocationRestriction>{y}<0 or {y}>100</LocationRestriction> + <LocationRestriction>{y}<2 or {y}>24</LocationRestriction> </Args> </Behavior> <Behavior> @@ -126,7 +155,7 @@ <Id>movebounce</Id> <ChainedBehaviors> <Id>xymove</Id> - <Id>colorshift</Id> + <!--Id>colorshift</Id--> <Id>ybounce</Id> <Id>xbounce</Id> </ChainedBehaviors> |