UNPKG

wolkd

Version:

Server and user interface to control WS2801 RGB LED strips via SPI

8 lines (7 loc) 166 B
module.exports = { title: 'Filter blue', type: 'rgb', getPixel: function(rgb, value) { return [rgb[0] * (1 - value), rgb[1] * (1 - value), rgb[2]]; } };