diff options
author | dan <dmtaub@gmail.com> | 2011-01-28 16:11:11 -0500 |
---|---|---|
committer | dan <dmtaub@gmail.com> | 2011-01-28 16:11:11 -0500 |
commit | f017051f9b93c3a8ac435537c8c9c1f360d0702f (patch) | |
tree | 3f0a9e01ddcb87af2e1b016dd8489be572641ca0 /config/HTMLTest.xml | |
parent | fac2f8373cd0e63a34a39cb77c0c7276d1d88b65 (diff) | |
parent | a7d6577e55ebd665ad9e4f45183836f11b3c6fd4 (diff) |
Merge branch 'fridaydemo' of github.com:rcoh/SmootLight into osc
Diffstat (limited to 'config/HTMLTest.xml')
-rwxr-xr-x | config/HTMLTest.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/config/HTMLTest.xml b/config/HTMLTest.xml new file mode 100755 index 0000000..159cec4 --- /dev/null +++ b/config/HTMLTest.xml @@ -0,0 +1,58 @@ +<LightInstallation> + <InstallationConfiguration> + <Defaults> + <PixelMapper>simplemap</PixelMapper> + </Defaults> + </InstallationConfiguration> + <PixelConfiguration> + <InheritsFrom>layouts/BasicSixStrip.xml</InheritsFrom> + </PixelConfiguration> + <PixelMapperConfiguration> + <PixelMapper> + <Class>pixelmappers.SimpleMapper</Class> + <Args> + <Id>simplemap</Id> + <CutoffDist>20</CutoffDist> + </Args> + </PixelMapper> + <PixelMapper> + <Class>pixelmappers.GaussianMapper</Class> + <Args> + <Id>gaussmap</Id> + <CutoffDist>30</CutoffDist> + <MinWeight>0.1</MinWeight> + <Width>10</Width> + <Height>1</Height> + </Args> + </PixelMapper> + </PixelMapperConfiguration> + <RendererConfiguration> + <Renderer> + <InheritsFrom>renderers/Pygame.xml</InheritsFrom> + </Renderer> + </RendererConfiguration> + <InputConfiguration> + <InputElement> + <Class>inputs.HTMLInput</Class> + <Args> + <Id>weatherinput</Id> + <Src>'http://sailing.mit.edu/weather/'</Src> + <!--<Regex>'rtWindSpeed = (\d+).*rtWindDir = (\d+)'</Regex>--> + <Regex>'rtWindSpeed = (\d+).*\s.*\s.*rtWindDir = (\d+)'</Regex> + <!--<RefreshInterval>60000</RefreshInterval>--> + </Args> + </InputElement> + </InputConfiguration> + <BehaviorConfiguration> + <Behavior> + <Class>behaviors.EchoBehavior</Class> + <Args> + <Inputs> + <Id>weatherinput</Id> + </Inputs> + <Id>echo</Id> + <RenderToScreen>False</RenderToScreen> + </Args> + </Behavior> + </BehaviorConfiguration> +</LightInstallation> |