Scripts

(that you can run)


rainbowScript.js

You can paste it into a browser console anywhere to make the page go rainbow.

var allElements = document.getElementsByTagName("*");
var timeNow = undefined;

window.setInterval(function(){
	timeNow = new Date()
	for (let i = 0, max = allElements.length; i < max; i++) {
		allElements[i].style.backgroundColor = "hsl(" + ((timeNow.getTime() / 10 + i * 50) % 360) + ",100%,30%)";
	}
}, 30);

Ok, currently it's only one script but I might add more here at some point.
Go Back