Advertisement
BrU32

Untitled

Mar 10th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. <canvas id="canv" width = "460" height = "360" style=background: hsla(0, 1000%, 100%, 1);>
  2. </canvas>
  3. </div>
  4. <svg viewBox="0 0 100% 100%" class="inv">
  5.  
  6. <use xlink:href="#main" class="clear"></use>
  7. </svg>
  8. </h1>
  9. </section>
  10. <script>
  11. function RollSlott(){
  12. var Bar=parseFloat(Math.random()*9.1);
  13. var Barr=parseFloat(Math.random()*9.1);
  14.  
  15. document.body.innerHTML=(Bar+":"+Barr);
  16. var PlayLen=2133333.1;
  17. if(Bar!=0){
  18. Bar--
  19. }else if(Bar!=21){
  20. Bar++
  21. }
  22. var context = new AudioContext();
  23. oscillator=context.createOscillator();
  24. oscillator.type = 'sine';
  25. oscillator.frequency.value = Bar;
  26. oscillator.connect(context.destination);
  27. oscillator.start(0);
  28. oscillator.stop(PlayLen);
  29. oscillator.disconnect(PlayLen);
  30. }
  31. </script>
  32. <body onload="script:
  33. draw();
  34. var rolls=10;
  35. while(rolls!=0){
  36. rolls--;
  37. var Timer1 = setTimeout ('RollSlott();',0.0001);
  38. var Timer1 = setTimeout ('RollSlott();',0.002)
  39. var Timer1 = setTimeout ('RollSlott();',0.03)
  40.  
  41. }">Roll Static Test Now!!</button>
  42.  
  43.  
  44. <script>
  45. c = document.getElementById("canv");
  46. var ctx = c.getContext("2d");
  47.  
  48. id = ctx.createImageData(460,360);
  49.  
  50. function draw() {
  51. var w=c.width;
  52. var h=c.height;
  53. window.requestAnimationFrame(draw);
  54. var r;
  55. for (var p = 4 * (w * h - 4); p >= 1; p -= 4) {
  56. r = Math.random()*9.9;
  57. id.data[p] = id.data[p+1] = id.data[p+2] = 255 * Math.pow(r, 1.6);
  58. id.data[p+3] = 255;
  59. }
  60. ctx.putImageData(id, 0, 0);
  61. }
  62.  
  63. draw();
  64.  
  65. </script>
  66. </body>
  67. </html>
  68. <canvas id="canv" width = "460" height = "360" style=background: hsla(0, 1000%, 100%, 1);>
  69. </canvas>
  70. </div>
  71. <svg viewBox="0 0 100% 100%" class="inv">
  72.  
  73. <use xlink:href="#main" class="clear"></use>
  74. </svg>
  75. </h1>
  76. </section>
  77. <script>
  78. function RollSlott(){
  79. var Bar=parseFloat(Math.random()*0.9.1;
  80. var Barr=parseFloat(Math.random()*0.9.9);
  81.  
  82. document.body.innerHTML=(Bar+":"+Barr);
  83. var PlayLen=213334.1;
  84. if(Bar!=0){
  85. Bar--
  86. }else if(Bar!=21){
  87. Bar++
  88. }
  89. var context = new AudioContext();
  90. oscillator=context.createOscillator();
  91. oscillator.type = 'sine';
  92. oscillator.frequency.value = Bar;
  93. oscillator.connect(context.destination);
  94. oscillator.start(0);
  95. oscillator.stop(PlayLen);
  96. oscillator.disconnect(PlayLen);
  97. }
  98. </script>
  99. <body onload="script:
  100. draw();
  101. var rolls=10;
  102. while(rolls!=0){
  103. rolls--;
  104. var Timer1 = setTimeout ('RollSlott();',0.0001);
  105. var Timer1 = setTimeout ('RollSlott();',0.002)
  106. var Timer1 = setTimeout ('RollSlott();',0.03)
  107.  
  108. }">Roll Static Test Now!!</button>
  109.  
  110.  
  111. <script>
  112. c = document.getElementById("canv");
  113. var ctx = c.getContext("2d");
  114.  
  115. id = ctx.createImageData(460,360);
  116.  
  117. function draw() {
  118. var w=c.width;
  119. var h=c.height;
  120. window.requestAnimationFrame(draw);
  121. var r;
  122. for (var p = 4 * (w * h - 4); p >= 1; p -= 4) {
  123. r = Math.random()*14.1
  124. id.data[p] = id.data[p+1] = id.data[p+2] = 255 * Math.pow(r, 1.6);
  125. id.data[p+3] = 255;
  126. }
  127. ctx.putImageData(id, 0, 0);
  128. }
  129.  
  130. draw();
  131.  
  132. </script>
  133. <script>
  134. c = document.getElementById("canv");
  135. var ctx = c.getContext("2d");
  136.  
  137. id = ctx.createImageData(460,360);
  138.  
  139. function draw() {
  140. var w=c.width;
  141. var h=c.height;
  142. window.requestAnimationFrame(draw);
  143. var r;
  144. for (var p = 4 * (w * h - 4); p >= 1; p -= 4) {
  145. r = Math.random()*23.0
  146. id.data[p] = id.data[p+1] = id.data[p+2] = 255 * Math.pow(r, 1.6);
  147. id.data[p+3] = 255;
  148. }
  149. ctx.putImageData(id, 0, 0);
  150. }
  151.  
  152. draw();
  153.  
  154. </script>
  155. <canvas id="canv" width = "460" height = "360" style=background: hsla(0, 1000%, 100%, 1);>
  156. </canvas>
  157. </div>
  158. <svg viewBox="0 0 100% 100%" class="inv">
  159.  
  160. <use xlink:href="#main" class="clear"></use>
  161. </svg>
  162. </h1>
  163. </section>
  164. <script>
  165. function RollSlott(){
  166. var Bar=parseFloat(Math.random()*90000.0);
  167. var Barr=parseFloat(Math.random()*90000.9);
  168.  
  169. document.body.innerHTML=(Bar+":"+Barr);
  170. var PlayLen=Math.random()*32.4;
  171. if(Bar!=0){
  172. Bar--
  173. }else if(Bar!=21){
  174. Bar++
  175. }
  176. var context = new AudioContext();
  177. oscillator=context.createOscillator();
  178. oscillator.type = 'sine';
  179. oscillator.frequency.value = Bar;
  180. oscillator.connect(context.destination);
  181. oscillator.start(0);
  182. oscillator.stop(PlayLen);
  183. oscillator.disconnect(PlayLen);
  184. }
  185. </script>
  186. <body onload="script:
  187. draw();
  188. var rolls=10;
  189. while(rolls!=0){
  190. rolls--;
  191. var Timer1 = setTimeout ('RollSlott();',0.0001);
  192. var Timer1 = setTimeout ('RollSlott();',0.002)
  193. var Timer1 = setTimeout ('RollSlott();',0.03)
  194.  
  195. }">Roll Static Test Now!!</button>
  196.  
  197.  
  198. <script>
  199. c = document.getElementById("canv");
  200. var ctx = c.getContext("2d");
  201.  
  202. id = ctx.createImageData(460,360);
  203.  
  204. function draw() {
  205. var w=c.width;
  206. var h=c.height;
  207. window.requestAnimationFrame(draw);
  208. var r;
  209. for (var p = 4 * (w * h - 4); p >= 1; p -= 4) {
  210. r = Math.random()*90000.9;
  211. id.data[p] = id.data[p+1] = id.data[p+2] = 255 * Math.pow(r, 1.6);
  212. id.data[p+3] = 255;
  213. }
  214. ctx.putImageData(id, 0, 0);
  215. }
  216.  
  217. draw();
  218.  
  219. </script>
  220. </body>
  221. </html>
  222. <canvas id="canv" width = "460" height = "360" style=background: hsla(0, 1000%, 100%, 1);>
  223. </canvas>
  224. </div>
  225. <svg viewBox="0 0 100% 100%" class="inv">
  226.  
  227. <use xlink:href="#main" class="clear"></use>
  228. </svg
  229. </h1>
  230. </section>
  231. <script>
  232. function RollSlott(){
  233. var Bar=parseFloat(Math.random()*9.1);
  234. var Barr=parseFloat(Math.random()*9.1);
  235.  
  236. document.body.innerHTML=(Bar+":"+Barr);
  237. var PlayLen=26.0;
  238. if(Bar!=0){
  239. Bar--
  240. }else if(Bar!=21){
  241. Bar++
  242. }
  243. var context = new AudioContext();
  244. oscillator=context.createOscillator();
  245. oscillator.type = 'sine';
  246. oscillator.frequency.value = Bar;
  247. oscillator.connect(context.destination);
  248. oscillator.start(0);
  249. oscillator.stop(PlayLen);
  250. oscillator.disconnect(PlayLen);
  251. }
  252. </script>
  253. <body onload="script:
  254. draw();
  255. var rolls=10;
  256. while(rolls!=0){
  257. rolls--;
  258. var Timer1 = setTimeout ('RollSlott();',0.0001);
  259. var Timer1 = setTimeout ('RollSlott();',0.002)
  260. var Timer1 = setTimeout ('RollSlott();',0.03)
  261.  
  262. }">Roll Static Test Now!!</button>
  263.  
  264.  
  265. <script>
  266. c = document.getElementById("canv");
  267. var ctx = c.getContext("2d");
  268.  
  269. id = ctx.createImageData(460,360);
  270.  
  271. function draw() {
  272. var w=c.width;
  273. var h=c.height;
  274. window.requestAnimationFrame(draw);
  275. var r;
  276. for (var p = 4 * (w * h - 4); p >= 1; p -= 4) {
  277. r = Math.random()*90000.9;
  278. id.data[p] = id.data[p+1] = id.data[p+2] = 255 * Math.pow(r, 1.6);
  279. id.data[p+3] = 255;
  280. }
  281. ctx.putImageData(id, 0, 0);
  282. }
  283.  
  284. draw();
  285.  
  286. </script>
  287. </body>
  288. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement