turbo mode
100% by me. My JS version of this: <html> <head> <title>PBcode</title> <style type="text/css"> canvas { border: 1px solid black; } html, body { width: 100%; height: 100%; margin: 0px; overflow: hidden; } </style> <script type="text/javascript"> var a = 0; var lalala = setInterval(draw,1); function draw(){ console.log("draw"); var canvas = document.getElementById("canvas01"); if (canvas.getContext){ var ctx = canvas.getContext('2d'); if (a!=1){ a = 1; ctx.fillStyle = "rgb(0,0,0)"; ctx.canvas.width = window.innerWidth; ctx.canvas.height = window.innerHeight; ctx.fillRect(0,0,window.innerWidth,window.innerHeight); }else{ ctx.fillStyle = "rgba(151,208,255,0.25)"; var x = Math.random()*2.25-2; var y = 0; for (i=0;i<100;i++){ y = y*y+x; } var x2 = window.innerWidth*((x+2)/2.25); for (i=0;i<100;i++){ y = y*y+x; ctx.fillRect(x2,window.innerHeight*(0.5+y/4),1,1); } } } } </script> </head> <body onload="draw();"> <canvas id="canvas01" width="2400" height="1320">That doesn't work.</canvas> </body> <html>