Guest User

xen_dweet_player

a guest
Jan 2nd, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <canvas id="c"width="1920"height="1080"style="width:100%"><script>c=document.body.childNodes[0];with(Math)S=sin,C=cos,T=tan;function R(r,g,b,a){a=a===undefined?1:a;return "rgba("+(r|0)+","+(g|0)+","+(b|0)+","+a+")"};x=c.getContext("2d");frame=0;function u(){t=++frame/60;
  2. //dweet below
  3.  
  4. for(i=c.width|=0;i--;x.fillRect(960+S(p=1.047*i+S(t/5)*3e3/i*S(t))*(d=i*i/1e3)-i*C(t),540+C(p)*d-i*S(t),s,s))x.fillStyle=R(i*t%99,i/t,s=i/5)
  5.  
  6. //dweet above
  7. requestAnimationFrame(u)}u()</script>
Advertisement
Add Comment
Please, Sign In to add comment