aboutsummaryrefslogtreecommitdiff
path: root/behaviors/DimColor.xml
diff options
context:
space:
mode:
Diffstat (limited to 'behaviors/DimColor.xml')
-rw-r--r--behaviors/DimColor.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/behaviors/DimColor.xml b/behaviors/DimColor.xml
new file mode 100644
index 0000000..b01908e
--- /dev/null
+++ b/behaviors/DimColor.xml
@@ -0,0 +1,8 @@
+<Behavior>
+ <Class>behaviors.ModifyParam</Class>
+ <Args>
+ <ParamType>Sensor</ParamType>
+ <ParamName>Color</ParamName>
+ <ParamOp>[chan*.99 for chan in {val}]</ParamOp>
+ </Args>
+</Behavior>