add more logging

This commit is contained in:
jane 2021-05-26 11:03:27 -04:00
parent a95e07df96
commit 090e241928

View file

@ -117,7 +117,8 @@ function fade(index) {
current.g + interval_g,
current.b + interval_b);
console.log(`${current_tick_r} ${current_tick_g} ${current_tick_b}: `
+ `NEW COLOR: ${current.r} ${current.g} ${current.b} FINAL: ${final.r} ${final.g} ${final.b} ` +
+ `CURRENT COLOR: ${current.r} ${current.g} ${current.b} NEW COLOR: ${current.r + interval_r} ${current.g + interval_g} ${current.b + interval_b} ` +
`FINAL: ${final.r} ${final.g} ${final.b} ` +
`INTERVAL: ${interval_r} ${interval_g} ${interval_b}`);
}
}