From 4dcfd28780b88f16d6304d88defc660909a965e8 Mon Sep 17 00:00:00 2001 From: dublUayaychtee Date: Fri, 29 Mar 2024 18:26:27 -0400 Subject: [PATCH] use class for hue cycle --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 84a18f4..930ace3 100644 --- a/src/main.js +++ b/src/main.js @@ -22,8 +22,8 @@ $(function () { // hue cycle aaron setInterval(() => { - hue = (hue + 15) % 720; - $("#camera-error").css("filter", "hue-rotate(" + hue + "deg)"); + hue = (hue + 16) % 720; + $(".hue-cycle").css("filter", "hue-rotate(" + hue + "deg)"); }, 25); setInterval(() => {