Advertisement
BrU32

JS Simple Fast Moving Like Draw Across Screen Animation SRC

Dec 4th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <body onload="setInterval(test,3.3);"></body>
  2. <canvas id="canvas" width="500" height="500" style="fillColor:red;font-size:230px"/>
  3. <script>
  4. var n=9;
  5. function test(){
  6. var ctx=document.getElementById("canvas").getContext("2d");
  7. ctx.width=3;
  8. ctx.fillText("r4554",n++,5,5,5);
  9. ctx.paint();
  10. }
  11. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement