changed colour to only change with a 10% chance

This commit is contained in:
Neko 2023-09-11 11:04:16 +02:00
parent a1cb599978
commit 57cd3c5f83

View File

@ -1 +1,3 @@
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"
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%)"
}