Advertisement
Python253

042933964230_Fade_Source

May 12th, 2018
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.29 KB | None | 0 0
  1.  
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>042933964230</title>
  6. <meta name="alpha" value="Charlie begs Clyde, 'Pass the salt!'" />
  7. <meta name="echo" value="U2FsdGVkX197+cpGaGB1G3GkbFgIm/WnGZpRXdeEIBB6GX8SHnDYPpQ9L3K11se0YWeFKszC8N+nXeuY46VdKfdwBS7tD8Rjrhj4u8Z+yuW5/3FePceI9JNmGNkWGbd1rxivAAk5MM2CooYIxPiW8kaof0H+z9iky9NGeOg4nOcGs4lk4v8p81Ria6C4sCcvjZvEMV/1OPcMvPf4ISdMi8rRw9kw3egksmMkxsSjSFH/ou0CWfs9dOULrIgzXNPGKjabDnTpxMYrg+TAK1yQgftb0+eg7NmUX4My/bQJMObH2W7113X/OQ65fESEqVZ8st0x/xbcq4M6dDK+KsS7sfbO7iwIYKGN92CNG1Bdbzhffn12ctMla0QvDx/6O6feCMZdpQ8N4wYnG5Jeuz/mB1EjVfB0MSyAydaS++CssCEbUiqORAFDXPek9+drgxI1fX2udITytmrCFJsKXJhjd92egxBW0GTPXM0MharoQGVObv8mmVE6V4BjnDIDnbHvv5802cotEYzAXjCZtRIjxSW3HZveVxKAsfNvQShkTs/a3J6tuHyPZ+rnZ0pKrwRB8osVUTlOXVQWiSNa7YAHTw6JVszB2vDvpGasgT6Iuw7ZTtq5B4sHk3Akn78XuMgVlDX23TPlEiBI1sPV3tteqg==" />
  8. <meta name="sierra" value="AC/DC Ballbreaker" />
  9. <style type="text/css">
  10. * { margin: 0; padding: 0; }
  11. canvas { display: block; }
  12. body { background: black; }
  13. h1 { color: white; }
  14. .zero { display: none; }
  15. </style>
  16. </head>
  17. <body>
  18. <canvas width="100%" height="100%" id="c"></canvas>
  19. <script type="text/javascript">
  20.         var c = document.getElementById("c");
  21.         c.height = window.innerHeight;
  22.         c.width = window.innerWidth;
  23.  
  24.         var drop_size = 12;
  25.         var columns = c.width/drop_size;
  26.  
  27.         var chinese = "ムタ二コク1234567890シモラキリエスハヌトユABCDEF";
  28.         chinese = chinese.split("");
  29.  
  30.         var drops = [];
  31.         for(var i = 0; i < columns; i++)
  32.             drops[i] = 1; //y coordinate - same for everyone at the starting. The index contains the x coordinate
  33.  
  34.         ctx = c.getContext('2d');
  35.  
  36.         function draw()
  37.         {
  38.             ctx.fillStyle = "rgba(0, 0, 0, 0.05)";
  39.             ctx.fillRect(0, 0, c.width, c.height);
  40.  
  41.             ctx.fillStyle = "#0f0";
  42.             ctx.font= drop_size + "px arial";
  43.             for(var i = 0; i < drops.length; i++)
  44.             {
  45.                 text = chinese[Math.floor(Math.random()*chinese.length)];
  46.                 ctx.fillText(text, i*drop_size, drops[i]*drop_size);
  47.  
  48.                 if(drops[i]*drop_size > c.height && Math.random() > 0.975)
  49.                     drops[i] = 0;
  50.  
  51.                 drops[i]++;
  52.             }
  53.  
  54.         }
  55.  
  56.         setInterval(draw, 33);
  57.  
  58. </script>
  59. <iframe class="zero" width="0" height="0" src="https://www.youtube.com/embed/_xEyFqiFuXQ?autoplay=1&loop=1" frameborder="0" allow="autoplay; loop; encrypted-media"></iframe>
  60. </body>
  61. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement