Advertisement
BrU32

JS Canvas Webcam Text Pusher V3 W\ Flash SRC FINAL!!!!!

Feb 24th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. <style>
  2. body{
  3. filter:contrast(1800%);
  4. filter:saturation(2233%);
  5. }
  6. </style>
  7. <body bgcolor="black" onload="setInterval(Gen,333)">
  8. <video id="video" hidden>
  9. </video>
  10. <canvas id="canvas" width="2334" height="788"style="opacity:1.0;fillColor:black;">
  11. <script>
  12. var ii=1;
  13. var inn=0;
  14. var video = document.getElementById("video");
  15. var c = document.getElementById("canvas");
  16. var ctx = c.getContext("2d");
  17. var i=0;
  18. var canvas = document.getElementById('canvas');
  19. var context = canvas.getContext('2d');
  20. var video = document.getElementById('video');
  21. var mediaConfig = { video: true,audio:true};
  22. navigator.mediaDevices.getUserMedia(mediaConfig).then(function(stream) {
  23. video.src = this.window.URL.createObjectURL(stream);
  24. video.play();
  25. video.addEventListener("play", function() {i = window.setInterval(function() {
  26. canvas.style.opacity=1.0;
  27. canvas.style.opacity=+Math.random()*99;
  28.  
  29. }, false);
  30. });
  31. function Gen()
  32. {
  33. var text = "";
  34. var possible = ""
  35. for(var i=0; i!=336; i++)
  36. text+=possible.charAt(Math.floor(Math.random()*possible.length));
  37. document.body.style.backgroundColor=(text);
  38.  
  39. }
  40. </script>
  41. <center>
  42. <body bgcolor="black" onmousemove="drawe();" onmousedown="drawe" onchange="drawe" ondoubkeclick="drawe;">
  43. <video id="video" autoplay hidden>
  44. </video>
  45. <canvas id="canvas" onchange="drawe;" topmost=false onchange="drawe;" width="500" height="500" style="opacity:1.0;fillColor:none;">
  46. <script>
  47. var ii=10;
  48. var inn=24;
  49. var video = document.getElementById("video");
  50. var c = document.getElementById("canvas");
  51. var ctx = c.getContext("2d");
  52. var canvas = document.getElementById('canvas');
  53. var context = canvas.getContext('2d');
  54. var video = document.getElementById('video');
  55. var mediaConfig = { video: true,audio:0};
  56. function drawe(){
  57. var possible = "FABCGDE0123456789";
  58. var text = "";
  59. var canvas = document.getElementById("canvas");
  60. var ctx = canvas.getContext("2d");
  61. for(var i=0; i!=62; i++)
  62. text+=possible.charAt(Math.floor(Math.random()*possible.length))
  63. ctx.strokeStyle="#"+text;
  64. ctx.moveTo(event.x+4,event.y+4);
  65. ctx.lineTo(event.x+4,event.y+4);
  66. ctx.topmost=false;
  67.  
  68. }
  69. navigator.mediaDevices.getUserMedia(mediaConfig).then(function(stream) {
  70. if(ctx.width==500){event.mouseMove++;}
  71. video.src = this.window.URL.createObjectURL(stream);
  72. video.play();
  73. video.addEventListener("play", function() {i = window.setInterval(function() {
  74.  
  75. canvas.style.opacity=Math.random()*1.0;
  76. ctx.topmost=false;
  77. ctx.drawStyle=''
  78. ctx.drawImage(video,Math.random()+event.x,Math.random()+400)},0.1);
  79. ctx.draw();
  80. drawe;
  81. }, false);
  82. });
  83. </script>
  84. <script>
  85. var context = new AudioContext();
  86.  
  87. </script>
  88.  
  89. <center>
  90. <body bgcolor="black" onmousemove="drawe();" onmousedown="drawe" onchange="drawe" ondoubkeclick="drawe;">
  91. <video id="video" autoplay hidden>
  92. </video>
  93. <canvas id="canvas" onchange="drawe;" topmost=false onchange="drawe;" width="500" height="234" style="opacity:1.0;fillColor:none;">
  94. <script>
  95. var out=prompt('Enter Text:')
  96. var ii=1;
  97. var video = document.getElementById("video");
  98. var c = document.getElementById("canvas");
  99. var ctx = c.getContext("2d");
  100. var canvas = document.getElementById('canvas');
  101. var context = canvas.getContext('2d');
  102. var video = document.getElementById('video');
  103. var mediaConfig = { video: true,audio:0};
  104. function drawe(){
  105. var possible = "FABCGDE0123456789";
  106. var text = "";
  107. var canvas = document.getElementById("canvas");
  108. var ctx = canvas.getContext("2d");
  109. for(var i=0; i!=3; i++)
  110. text+=possible.charAt(Math.floor(Math.random()*possible.length))
  111. ctx.fillStyle="#"+text;
  112. ctx.beginPath();
  113. ctx.font=Math.random()*234+"px Creepy";
  114. ctx.fillText(""+out,Math.random()*event.x,Math.random()*event.x,Math.random()*event.y,Math.random()*event.y);
  115.  
  116. ctx.fill();
  117. ctx.topmost=true;
  118. ctx.stroke();
  119. text='';
  120. }
  121. navigator.mediaDevices.getUserMedia(mediaConfig).then(function(stream) {
  122. if(ctx.width==500){event.mouseMove++;}
  123. video.src = this.window.URL.createObjectURL(stream);
  124. video.play();
  125. video.addEventListener("play", function() {i = window.setInterval(function() {
  126. canvas.style.opacity=1.0
  127.  
  128. ctx.topmost=false;
  129. ctx.drawImage(video,Math.random()*500,Math.random()*500,Math.random()*500,Math.random()*500)},50);
  130. ctx.draw();
  131. drawe;
  132. }, 77);
  133. });
  134. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement