Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body onload="setInterval(drawe,22)" background-color="black">
- <canvas id="myCanvas" width="1000" height="1000" style="background:black;">
- </canvas>
- <center>
- <script>
- var inn=' ';
- var outlen=(inn.length*44+9);
- var ii=outlen;
- function drawe(){
- var out
- var text = "";
- var possible = "FABCGDE0123456789";
- var canvas = document.getElementById("myCanvas");
- var ctx = canvas.getContext("2d");
- ctx.font="50px Comis Ariel"
- for(var i=0; i!=6; i++)
- text+=possible.charAt(Math.floor(Math.random()*possible.length));
- ctx.strokeStyle='#'+text;
- ctx.fillStyle="#"+text;
- var c = document.getElementById("myCanvas");
- var ctx = c.getContext("2d");
- ctx.beginPath();
- ctx.fillText(text+"",ii+1,ii+1,304,304);
- ctx.paint();
- text='';
- if(outlen<4){
- //return;
- }
- }
- </script>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement