SHARE
TWEET

Sacchan

a guest Jan 26th, 2020 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <link rel="icon" type="image/gif" href="http://i.giphy.com/xTiQyJHLcCsgxp2FkA.gif">
  3. <head>
  4. <title>Owned By Codename</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <style type="text/css">*{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}body,html{margin:0;padding:0;font:16px/1.4 Lato,sans-serif;color:#fefeff;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;font-family:Comic Sans MS}body{background:#080510;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}h1{font:2.75em Cinzel,serif;font-weight:400;letter-spacing:.35em;text-shadow:0 0 25px rgba(254,254,255,.85)}h2{font:1.45em Cinzel,serif;font-weight:400;letter-spacing:.5em;text-shadow:0 0 25px rgba(254,254,255,.85);text-transform:lowercase}[class^=letter]{-webkit-transition:opacity 3s ease;-moz-transition:opacity 3s ease;transition:opacity 3s ease}.letter-0{transition-delay:.2s}.letter-1{transition-delay:.4s}.letter-2{transition-delay:.6s}.letter-3{transition-delay:.8s}.letter-4{transition-delay:1s}.letter-5{transition-delay:1.2s}.letter-6{transition-delay:1.4s}.letter-7{transition-delay:1.6s}.letter-8{transition-delay:1.8s}.letter-9{transition-delay:2s}.letter-10{transition-delay:2.2s}.letter-11{transition-delay:2.4s}.letter-12{transition-delay:2.6s}.letter-13{transition-delay:2.8s}.letter-14{transition-delay:3s}h1,h2{visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}h1.transition-in,h2.transition-in{visibility:visible}h1 [class^=letter],h2 [class^=letter]{opacity:0}h1.transition-in [class^=letter],h2.transition-in [class^=letter]{opacity:1}#container{display:table;position:absolute;z-index:20;width:100%;height:100%;text-align:center;cursor:none}#container>div{display:table-cell;vertical-align:middle}#container p{position:absolute;width:100%;left:0;bottom:25px;font-size:.8em;letter-spacing:.1em;font-weight:300;color:#76747a;-webkit-font-smoothing:subpixel-antialiased;font-smoothing:subpixel-antialiased}#container p strong{color:#b3abc5}#container p span{font-size:.75em;padding:0 2px}#canvas{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;cursor:none}#stats{position:absolute;z-index:10;left:10px;top:10px}.dg.ac{z-index:100!important}.STYLE4{color:#FFF}
  7. </style>
  8. </head>
  9. <body>
  10. <body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
  11. <div id="container">
  12. <div><br><br><br><br><br><br><br><br>
  13. <h1 id="h2">Bodoamat....</h2>
  14. </br>
  15. <h2 id="h1">Gak Pro Hackers</h1>
  16. <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  17. <h3></h3>
  18. <h3 id="h3">&nbsp; </h3>
  19. </div>
  20. </div>
  21. <canvas id="canvas"></canvas>
  22. <script>
  23. var Stats=function(){var e=Date.now(),t=e,i=0,n=1/0,r=0,s=0,o=1/0,a=0,l=0,h=0,c=document.createElement("div");c.id="stats",c.addEventListener("mousedown",function(e){e.preventDefault(),v(++h%2)},!1),c.style.cssText="width:80px;opacity:0.9;cursor:pointer";var u=document.createElement("div");u.id="fps",u.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#002",c.appendChild(u);var d=document.createElement("div");d.id="fpsText",d.style.cssText="color:#0ff;font-family:Comic Sans MS;font-size:9px;font-weight:bold;line-height:15px",d.innerHTML="FPS",u.appendChild(d);var p=document.createElement("div");for(p.id="fpsGraph",p.style.cssText="position:relative;width:74px;height:30px;background-color:#0ff",u.appendChild(p);74>p.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#113",p.appendChild(f)}var m=document.createElement("div");m.id="ms",m.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#020;display:none",c.appendChild(m);var g=document.createElement("div");g.id="msText",g.style.cssText="color:#0f0;font-family:Comic Sans MS;font-size:9px;font-weight:bold;line-height:15px",g.innerHTML="MS",m.appendChild(g);var y=document.createElement("div");for(y.id="msGraph",y.style.cssText="position:relative;width:74px;height:30px;background-color:#0f0",m.appendChild(y);74>y.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#131",y.appendChild(f)}var v=function(e){switch(h=e){case 0:u.style.display="block",m.style.display="none";break;case 1:u.style.display="none",m.style.display="block"}},b=function(e,t){var i=e.appendChild(e.firstChild);i.style.height=t+"px"};return{REVISION:11,domElement:c,setMode:v,begin:function(){e=Date.now()},end:function(){var h=Date.now();return i=h-e,n=Math.min(n,i),r=Math.max(r,i),g.textContent=i+" MS ("+n+"-"+r+")",b(y,Math.min(30,30-30*(i/200))),l++,h>t+1e3&&(s=Math.round(1e3*l/(h-t)),o=Math.min(o,s),a=Math.max(a,s),d.textContent=s+" FPS ("+o+"-"+a+")",b(p,Math.min(30,30-30*(s/100))),t=h,l=0),h},update:function(){e=this.end()}}};
  24. </script>
  25. <script>
  26. ;(function(window) {
  27. var ctx,
  28. hue,
  29. logo,
  30. form,
  31. buffer,
  32. target = {},
  33. tendrils = [],
  34. settings = {};
  35. settings.debug = true;
  36. settings.friction = 0.5;
  37. settings.trails = 20;
  38. settings.size = 50;
  39. settings.dampening = 0.25;
  40. settings.tension = 0.98;
  41. Math.TWO_PI = Math.PI * 2;
  42. // ========================================================================================
  43. // Oscillator
  44. // ----------------------------------------------------------------------------------------
  45. function Oscillator(options) {
  46. this.init(options || {});
  47. }
  48. Oscillator.prototype = (function() {
  49. var value = 0;
  50. return {
  51. init: function(options) {
  52. this.phase = options.phase || 0;
  53. this.offset = options.offset || 0;
  54. this.frequency = options.frequency || 0.001;
  55. this.amplitude = options.amplitude || 1;
  56. },
  57. update: function() {
  58. this.phase += this.frequency;
  59. value = this.offset + Math.sin(this.phase) * this.amplitude;
  60. return value;
  61. },
  62. value: function() {
  63. return value;
  64. }
  65. };
  66. })();
  67. // ========================================================================================
  68. // Tendril
  69. // ----------------------------------------------------------------------------------------
  70. function Tendril(options) {
  71. this.init(options || {});
  72. }
  73. Tendril.prototype = (function() {
  74. function Node() {
  75. this.x = 0;
  76. this.y = 0;
  77. this.vy = 0;
  78. this.vx = 0;
  79. }
  80. return {
  81. init: function(options) {
  82. this.spring = options.spring + (Math.random() * 0.1) - 0.05;
  83. this.friction = settings.friction + (Math.random() * 0.01) - 0.005;
  84. this.nodes = [];
  85. for(var i = 0, node; i < settings.size; i++) {
  86. node = new Node();
  87. node.x = target.x;
  88. node.y = target.y;
  89. this.nodes.push(node);
  90. }
  91. },
  92. update: function() {
  93. var spring = this.spring,
  94. node = this.nodes[0];
  95. node.vx += (target.x - node.x) * spring;
  96. node.vy += (target.y - node.y) * spring;
  97. for(var prev, i = 0, n = this.nodes.length; i < n; i++) {
  98. node = this.nodes[i];
  99. if(i > 0) {
  100. prev = this.nodes[i - 1];
  101. node.vx += (prev.x - node.x) * spring;
  102. node.vy += (prev.y - node.y) * spring;
  103. node.vx += prev.vx * settings.dampening;
  104. node.vy += prev.vy * settings.dampening;
  105. }
  106. node.vx *= this.friction;
  107. node.vy *= this.friction;
  108. node.x += node.vx;
  109. node.y += node.vy;
  110. spring *= settings.tension;
  111. }
  112. },
  113. draw: function() {
  114. var x = this.nodes[0].x,
  115. y = this.nodes[0].y,
  116. a, b;
  117. ctx.beginPath();
  118. ctx.moveTo(x, y);
  119. for(var i = 1, n = this.nodes.length - 2; i < n; i++) {
  120. a = this.nodes[i];
  121. b = this.nodes[i + 1];
  122. x = (a.x + b.x) * 0.5;
  123. y = (a.y + b.y) * 0.5;
  124. ctx.quadraticCurveTo(a.x, a.y, x, y);
  125. }
  126. a = this.nodes[i];
  127. b = this.nodes[i + 1];
  128. ctx.quadraticCurveTo(a.x, a.y, b.x, b.y);
  129. ctx.stroke();
  130. ctx.closePath();
  131. }
  132. };
  133. })();
  134. // ----------------------------------------------------------------------------------------
  135. function init(event) {
  136. document.removeEventListener('mousemove', init);
  137. document.removeEventListener('touchstart', init);
  138. document.addEventListener('mousemove', mousemove);
  139. document.addEventListener('touchmove', mousemove);
  140. document.addEventListener('touchstart', touchstart);
  141. mousemove(event);
  142. reset();
  143. loop();
  144. }
  145. function reset() {
  146. tendrils = [];
  147. for(var i = 0; i < settings.trails; i++) {
  148. tendrils.push(new Tendril({
  149. spring: 0.45 + 0.025 * (i / settings.trails)
  150. }));
  151. }
  152. }
  153. function loop() {
  154. if(!ctx.running) return;
  155. ctx.globalCompositeOperation = 'source-over';
  156. ctx.fillStyle = 'rgba(8,5,16,0.4)';
  157. ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height);
  158. ctx.globalCompositeOperation = 'lighter';
  159. ctx.strokeStyle = 'hsla(' + Math.round(hue.update()) + ',90%,50%,0.25)';
  160. ctx.lineWidth = 1;
  161. if(ctx.frame % 60 == 0) {
  162. console.log(hue.update(), Math.round(hue.update()), hue.phase, hue.offset, hue.frequency, hue.amplitude);
  163. }
  164. for(var i = 0, tendril; i < settings.trails; i++) {
  165. tendril = tendrils[i];
  166. tendril.update();
  167. tendril.draw();
  168. }
  169. ctx.frame++;
  170. ctx.stats.update();
  171. requestAnimFrame(loop);
  172. }
  173. function resize() {
  174. ctx.canvas.width = window.innerWidth;
  175. ctx.canvas.height = window.innerHeight;
  176. }
  177. function start() {
  178. if(!ctx.running) {
  179. ctx.running = true;
  180. loop();
  181. }
  182. }
  183. function stop() {
  184. ctx.running = false;
  185. }
  186. function mousemove(event) {
  187. if(event.touches) {
  188. target.x = event.touches[0].pageX;
  189. target.y = event.touches[0].pageY;
  190. } else {
  191. target.x = event.clientX
  192. target.y = event.clientY;
  193. }
  194. event.preventDefault();
  195. }
  196. function touchstart(event) {
  197. if(event.touches.length == 1) {
  198. target.x = event.touches[0].pageX;
  199. target.y = event.touches[0].pageY;
  200. }
  201. }
  202. function keyup(event) {
  203. switch(event.keyCode) {
  204. case 32:
  205. save();
  206. break;
  207. default:
  208. // console.log(event.keyCode);
  209. }
  210. }
  211. function letters(id) {
  212. var el = document.getElementById(id),
  213. letters = el.innerHTML.replace('&amp;', '&').split(''),
  214. heading = '';
  215. for(var i = 0, n = letters.length, letter; i < n; i++) {
  216. letter = letters[i].replace('&', '&amp');
  217. heading += letter.trim() ? '<span class="letter-' + i + '">' + letter + '</span>' : '&nbsp;';
  218. }
  219. el.innerHTML = heading;
  220. setTimeout(function() {
  221. el.className = 'transition-in';
  222. }, (Math.random() * 500) + 500);
  223. }
  224. function save() {
  225. if(!buffer) {
  226. buffer = document.createElement('canvas');
  227. buffer.width = screen.availWidth;
  228. buffer.height = screen.availHeight;
  229. buffer.ctx = buffer.getContext('2d');
  230. form = document.createElement('form');
  231. form.method = 'post';
  232. form.input = document.createElement('input');
  233. form.input.type = 'hidden';
  234. form.input.name = 'data';
  235. form.appendChild(form.input);
  236. document.body.appendChild(form);
  237. }
  238. buffer.ctx.fillStyle = 'rgba(8,5,16)';
  239. buffer.ctx.fillRect(0, 0, buffer.width, buffer.height);
  240. buffer.ctx.drawImage(canvas,
  241. Math.round(buffer.width / 2 - canvas.width / 2),
  242. Math.round(buffer.height / 2 - canvas.height / 2)
  243. );
  244. buffer.ctx.drawImage(logo,
  245. Math.round(buffer.width / 2 - logo.width / 4),
  246. Math.round(buffer.height / 2 - logo.height / 4),
  247. logo.width / 2,
  248. logo.height / 2
  249. );
  250. window.open(buffer.toDataURL(), 'wallpaper', 'top=0,left=0,width=' + buffer.width + ',height=' + buffer.height);
  251. // form.input.value = buffer.toDataURL().substr(22);
  252. // form.submit();
  253. }
  254. window.requestAnimFrame = (function() {
  255. return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(fn) { window.setTimeout(fn, 1000 / 60) };
  256. })();
  257. window.onload = function() {
  258. ctx = document.getElementById('canvas').getContext('2d');
  259. ctx.stats = new Stats();
  260. ctx.running = true;
  261. ctx.frame = 1;
  262. logo = new Image();
  263. logo.src = 'http://labs.nikrowell.com/lightsandmotion/ultraviolet/images/logo.png';
  264. hue = new Oscillator({
  265. phase: Math.random() * Math.TWO_PI,
  266. amplitude: 85,
  267. frequency: 0.0015,
  268. offset: 285
  269. });
  270. letters('h1');
  271. letters('h2');
  272. document.addEventListener('mousemove', init);
  273. document.addEventListener('touchstart', init);
  274. document.body.addEventListener('orientationchange', resize);
  275. window.addEventListener('resize', resize);
  276. window.addEventListener('keyup', keyup);
  277. window.addEventListener('focus', start);
  278. window.addEventListener('blur', stop);
  279. resize();
  280. if(window.DEBUG) {
  281. var gui = new dat.GUI();
  282. // gui.add(settings, 'debug');
  283. settings.gui.add(settings, 'trails', 1, 30).onChange(reset);
  284. settings.gui.add(settings, 'size', 25, 75).onFinishChange(reset);
  285. settings.gui.add(settings, 'friction', 0.45, 0.55).onFinishChange(reset);
  286. settings.gui.add(settings, 'dampening', 0.01, 0.4).onFinishChange(reset);
  287. settings.gui.add(settings, 'tension', 0.95, 0.999).onFinishChange(reset);
  288. document.body.appendChild(ctx.stats.domElement);
  289. }
  290. };
  291. })(window);
  292. </script>
  293. <script type="text/javascript">
  294. //form tags to omit in NS6+:
  295. var omitformtags=["input", "textarea", "select"]
  296. omitformtags=omitformtags.join("|")
  297. function disableselect(e){
  298. if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
  299. return false
  300. }
  301. function reEnable(){
  302. return true
  303. }
  304. if (typeof document.onselectstart!="undefined")
  305. document.onselectstart=new Function ("return false")
  306. else{
  307. document.onmousedown=disableselect
  308. document.onmouseup=reEnable
  309. }
  310. </script>
  311. <body onkeydown="return false">
  312. <body onselectstart="return false">
  313. </body>
  314. <iframe width="1" height="0" src="http://www.youtube.com/embed/AgVLQrJi8Ek?rel=0&autoplay=1" frameborder="0" allowfullscreen ></iframe>
  315. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top