SHARE
TWEET

Untitled

a guest Oct 12th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <body>
  3.     <canvas id="k"></canvas>
  4. </body>
  5. <script>
  6. v = document.getElementById("k");
  7. D = v.getContext("2d");
  8. setInterval(function(){
  9.     v.height=~c;
  10.     o=Math.cos;
  11.     for(r=a=1.57;a<c;D.lineTo(c+o(n)*s,c*r+o(q)*38+o(n-r)*s/r-s))
  12.         q=(~~(a/15)%4+a%3%2)*r-i*c,
  13.         n=(~~(a++/3)%5)*r-2,
  14.         s=(o(q+1)+2)*31;
  15.        
  16.     D.stroke();
  17.    
  18.     i++
  19. },i=c=91)
  20. </script>
  21. </html>
RAW Paste Data
Top