UNPKG

wolkd

Version:

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

8 lines (7 loc) 150 B
module.exports = { title: 'Strobe', getPixel: function(beat, t) { var on = (t % 2) === 0; return on ? [255, 255, 255] : [0, 0, 0]; } };