Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Random Color Brush

DarthAffe edited this page Jan 10, 2017 · 4 revisions

The RandomColorBrush is one of the default brushes provided by CUE.NET.
It's returning a random color for every LED it's applied on every update.

To be honest this brush is absolutely useless. I will rewrite it as soon as I have a good idea on how to make it customizable.

If you want to fill your whole keyboard with random colors you can use this code

RandomColorBrush randomBrush = new RandomColorBrush();
keyboard.Brush = randomBrush;
Clone this wiki locally