JSFiddle - React, Tailwind, and code Playground
CSS
body {
background: url('http://www.cyborgmatt.com/wp-content/uploads/2012/05/Dota2_DashboardBackground.jpg') 50% 0% no-repeat fixed;
}
JavaScript
var currX = 50;
var currY = 0;
$(function () {
animate();
window.setInterval(animate(), 10000);
});
function animate() {
var newPosX = currX - (Math.random() * 50);
var newPosY = currY - (Math.random() * 50);
$('body').animate({
backgroundPositionX: newPosX + '%',
backgroundPositionY: newPosY + '%'
}, 10000, 'linear');
}