Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <canvas id="k"></canvas>
- </body>
- <script>
- v = document.getElementById("k");
- D = v.getContext("2d");
- setInterval(function(){
- v.height=~c;
- o=Math.cos;
- for(r=a=1.57;a<c;D.lineTo(c+o(n)*s,c*r+o(q)*38+o(n-r)*s/r-s))
- q=(~~(a/15)%4+a%3%2)*r-i*c,
- n=(~~(a++/3)%5)*r-2,
- s=(o(q+1)+2)*31;
- D.stroke();
- i++
- },i=c=91)
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement