Mixing technique
Basics
Color mixing of lights are a bit different from normal color mixing. Since we can't add black as a color, black is just no light on. Some colors are hard to represent, this is in part dependent on what type of LED is used but also some other factors. Most of our lamps only have RGB, and can not produce "yellow" or "white" light very well.
Color fades
The dim
function can be used to fade fixtures with RGB values between colors. Note that the colors will mix between colors during the fade resulting in a timeline like the picture below.
It is also possible to change color and lower the intensity at the same time. In this case the red color is only set to 20% of the blue colors intensity. It is also possible to accomplish this using the multi-layer technic below.
Multi-layer scripting
Layers can be used to create effects stacked on top of each other. The most common use is to run a script on the master
layer and multiply that with a dimmer
layer. One of the already existing scripts can run normally on the master layer and the dimmer layer can add in some randomness by flickering lights off and on. Great use for a spooky theme.
The dimmer layer can also be used to "turn off" some lights in a specified area. An example that have been used is to turn of the roof pixels above the dance floor when the DJ lightning is running. And then on top of that have a third layer added to the data so that the DJ area can run roof patters even tho the rest is running another script.