aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2010-11-25 22:26:52 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2010-11-25 22:26:52 -0500
commit1754a1f4511ef52f0a093dd0f9915196bd4261e7 (patch)
treea1f07a8603b67c56120eac938dca424b80f5683a /config
parent5783d6336f014c05e0e46d7bc35533e70b280582 (diff)
Renaming LayoutEngine to PixelAssembler
Diffstat (limited to 'config')
-rw-r--r--config/.LightInstallationConfig.xml.swpbin20480 -> 20480 bytes
-rw-r--r--config/LayoutEngine.params6
-rw-r--r--config/LightInstallationConfig.xml6
3 files changed, 4 insertions, 8 deletions
diff --git a/config/.LightInstallationConfig.xml.swp b/config/.LightInstallationConfig.xml.swp
index e3dbfd3..05e30ce 100644
--- a/config/.LightInstallationConfig.xml.swp
+++ b/config/.LightInstallationConfig.xml.swp
Binary files differ
diff --git a/config/LayoutEngine.params b/config/LayoutEngine.params
deleted file mode 100644
index 1b1dee5..0000000
--- a/config/LayoutEngine.params
+++ /dev/null
@@ -1,6 +0,0 @@
-{'pixelToPixelSpacing':'pixelToPixel spacing not defined in argDict. This is the
-length of wire between 2 adjacent LEDs. Common values are 4 or 12.
-Specified in config XML.', 'numPixels': 'numPixels not defined in
-argDict. Common value: 50.', 'originLocation':'originLocation not
-defined in argDict. Values should be a string in the form (x,y). This
-should be specified in the config XML.'}
diff --git a/config/LightInstallationConfig.xml b/config/LightInstallationConfig.xml
index a4722db..3f73e0c 100644
--- a/config/LightInstallationConfig.xml
+++ b/config/LightInstallationConfig.xml
@@ -1,6 +1,6 @@
<!---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>
- <LayoutConfiguration>
+ <PixelConfiguration>
<PixelStrip>
<Class>layouts.ZigzagLayout</Class><!--Name of Layout Class,
@@ -34,7 +34,7 @@
<originLocation>(10,30)</originLocation>
</Args>
</PixelStrip>
- </LayoutConfiguration>
+ </PixelConfiguration>
<RendererConfiguration>
<Renderer>
<Class>renderers.PygameRenderer</Class>
@@ -102,6 +102,8 @@
<Class>behaviors.DecayBehavior</Class>
<Args>
<Id>decay</Id>
+ <DecayType>Exponential</DecayType>
+ <Coefficient>.01</Coefficient>
<z-index>0</z-index>
<RenderToScreen>False</RenderToScreen>
<Inputs>