").attr("src",r).load(function(){n.remove(r);t(i,i-n.length)})})}function draw(){var i=document.getElementById("c_wave"),n=i.getContext("2d"),u=document.documentElement.clientWidth,f=document.documentElement.clientHeight,e,r,t;for(i.width=document.documentElement.clientWidth,i.height=document.documentElement.clientHeight,drawVisual=requestAnimationFrame(draw),analyser.getByteTimeDomainData(dataArray),n.globalAlpha=0,n.fillStyle="#646464",n.fillRect(0,0,u,f),n.lineWidth=1,n.globalAlpha=.9,n.strokeStyle="#FFFFFF",n.beginPath(),e=u*1/bufferLength,r=0,t=0;t200&&group.rotation.set(Math.random()/-20,Math.random()*400,Math.random()*400);camera.lookAt(scene.position);renderer.render(scene,camera);i=(new Date).getTime();r=i-startTime;nn=nn+1;nn==100&&$("#canvas").animate({backgroundColor:"#f1c40f"});nn==200&&$("#canvas").animate({backgroundColor:"#1abc9c"});nn==400&&$("#canvas").animate({backgroundColor:"#3498db"});nn==500&&$("#canvas").animate({backgroundColor:"#9b59b6"});nn==600&&($("#canvas").animate({backgroundColor:"#e74c3c"}),nn=0);source.playbackRate.value=mouseY/1500;document.body.addEventListener("touchstart",u);document.documentElement.addEventListener("mousedown",()=>{ctx.state!=="running"&&ctx.resume()})}var now_percent,displaying_percent,bufferLength,dataArray,ua,ver,startTime,nn;Array.prototype.remove=function(n){for(var t=0;t=100?(window.clearInterval(timer),$("#loader").fadeOut("slow",function(){$("#canvas").fadeIn("slow");$("#c_wave").fadeIn("slow");$("#logo").fadeIn("slow");init();animate()})):displaying_percent