mixed up the chances

This commit is contained in:
Neko 2023-09-11 12:23:27 +02:00
parent c61dda6ed8
commit b30bb289a4

View File

@ -7,9 +7,9 @@ function colorRotate(){
if( Math.random() > 0.5){
if( Math.random() > 0.9){
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"
setInterval(colorRotate, 50);
} else {
setInterval(colorRotate, 50)
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"
}
}