aboutsummaryrefslogtreecommitdiff
path: root/config/C5Work.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/C5Work.xml')
-rw-r--r--config/C5Work.xml78
1 files changed, 78 insertions, 0 deletions
diff --git a/config/C5Work.xml b/config/C5Work.xml
new file mode 100644
index 0000000..6aac21a
--- /dev/null
+++ b/config/C5Work.xml
@@ -0,0 +1,78 @@
+<!---All configuration items contain a "Class" tag specifying the python class they represent, and an "Args" tag specifying the args to be passed in.-->
+<LightInstallation>
+ <InstallationConfiguration>
+ <Defaults>
+ <PixelMapper>simplemap</PixelMapper>
+ </Defaults>
+ </InstallationConfiguration>
+ <PixelConfiguration>
+ <InheritsFrom>layouts/C5SignLayout.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>1</CutoffDist>
+ <MinWeight>0.1</MinWeight>
+ <Width>1</Width>
+ <Height>.5</Height>
+ </Args>
+ </PixelMapper>
+ <PixelMapper>
+ <Class>pixelmappers.C5SignMapper</Class>
+ <Args>
+ <Id>c5signmapper</Id>
+ <CutoffDist>20</CutoffDist>
+ </Args>
+ </PixelMapper>
+ </PixelMapperConfiguration>
+ <RendererConfiguration>
+ <Renderer Scale="5">
+ <InheritsFrom>renderers/Pygame.xml</InheritsFrom>
+ </Renderer>
+ <Renderer>
+ <InheritsFrom>renderers/C5Renderer.xml</InheritsFrom>
+ </Renderer>
+ </RendererConfiguration>
+ <InputConfiguration>
+ <InputElement>
+ <Class>inputs.JPGInput</Class>
+ <Args>
+ <Id>jpg</Id>
+ <RefreshInterval>5000</RefreshInterval>
+ <Directory>../../C5SignImages</Directory>
+ </Args>
+ </InputElement>
+ <InputElement>
+ <Class>inputs.PygameInput</Class>
+ <Args>
+ <Id>pygamekey</Id>
+ <RefreshInterval>10</RefreshInterval>
+ <Keyboard>True</Keyboard>
+ </Args>
+ </InputElement>
+ </InputConfiguration>
+ <BehaviorConfiguration>
+ <Behavior>
+ <InheritsFrom>behaviors/PixelDecay.xml</InheritsFrom>
+ <Args>
+ <Class>pixelevents.FadeIn</Class>
+ <Id>image</Id>
+ <Inputs>
+ <Id>jpg</Id>
+ </Inputs>
+ <Coefficient>.0005</Coefficient>
+ <RenderToScreen>True</RenderToScreen>
+ <Mapper>gaussmap</Mapper>
+ </Args>
+ </Behavior>
+ </BehaviorConfiguration>
+</LightInstallation>