Skip to content

Commit

Permalink
use class for hue cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
dublUayaychtee committed Mar 29, 2024
1 parent 2ff43dd commit 4dcfd28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 4dcfd28

Please sign in to comment.