Adjusted the breathing pulse to be a little less dramatic.

This commit is contained in:
John Shaver 2018-12-12 21:21:43 -08:00
parent 1d046e3ce7
commit 514da5e875

View file

@ -57,7 +57,7 @@ function render() {
} }
function getBrightness(x) { function getBrightness(x) {
return Math.floor(breathingCurve(x, 6000, 100000, 1000000)); return Math.floor(breathingCurve(x, 8000, 250000, 900000));
} }
function breathingCurve(x, interval = 3000, min, max) { function breathingCurve(x, interval = 3000, min, max) {