Adjusted the breathing pulse to be a little less dramatic.
This commit is contained in:
parent
1d046e3ce7
commit
514da5e875
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue