mixed up the chances
This commit is contained in:
parent
c61dda6ed8
commit
b30bb289a4
@ -7,9 +7,9 @@ function colorRotate(){
|
|||||||
|
|
||||||
if( Math.random() > 0.5){
|
if( Math.random() > 0.5){
|
||||||
if( Math.random() > 0.9){
|
if( Math.random() > 0.9){
|
||||||
|
setInterval(colorRotate, 50);
|
||||||
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"
|
|
||||||
} else {
|
} 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%)"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user