07-11-2018, 05:22 PM
This will have a great impact on your creativity:
What else can you come up with?
Code:
j = 0;
window.setInterval(function() {
for (var i = 0; i < settings['numInstruments']; i++) {
settings['instrumentColors'][i] = [Math.floor(Math.random() * 255), Math.floor(Math.random() * 255), Math.floor(Math.random() * 255)];
};
SequencerView.repaint();
$('canvas').css('filter', 'blur(' + (Math.sin(j) * 8) + 'px)');
j += 0.1;
}, 100);
What else can you come up with?