var lorenz =
function(h,a,b,c,x,y,z,j){setInterval(function(){j(x+=h*a*(y-x),y+=h*(x*(b-z)-y),z+=h*(x*y-c*z))},9)}
function init(){
var max = 1000, i = 0, divs = [];
for (i=0; i < max; i++){
div = document.createElement("div");
divs.push(div);
document.body.appendChild(div);
}
function callback(x,y,z){
divs[i=(i+1)%max].style.cssText =
"left:" + (x*8) + "px;" +
"top:" + (y*8) + "px;" +
"width:" + Math.abs(z/4) + "px;" +
"height:" + Math.abs(z/4) + "px;"
}
lorenz(0.008,10,28,8/3,0,10,10,callback);
}
init();
div {
background-color: #069;
opacity: 0.5;
width: 5px;
height: 5px;
overflow: hidden;
display: block;
position: absolute;
margin: 250px 250px;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
}
External resources loaded into this fiddle: