UNPKG

wolkd

Version:

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

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