asdfghjkl;

by Kingdaro

JavaScript

var div = document.createElement('div');
div.innerHTML = 'asdfghjkl;';
div.setAttribute('style', 'font: 12pt Arial; width: intrinsic; position: absolute;');

function r() {
    return Math.random();
}

function updateLoop() {
    var width = window.getWidth();
    var height = window.getHeight();

    div.style.fontSize = r() * 60 + 12 + 'px';
    div.style.color = 'hsl(' + Math.round(r() * 360) + ', 90%, 50%)';
    div.style.webkitTransform = 'rotate(' + r() * 360 + 'deg)';
    div.style.left = r() * (width - div.clientWidth) + 'px';
    div.style.top = r() * (height - div.clientHeight) + 'px';

    document.body.style.backgroundColor = 'hsl(' + Math.round(r() * 360) + ', 90%, 50%)';

    setTimeout(updateLoop, 1000 / 60);
}

updateLoop();
document.body.appendChild(div);