-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 2.47 KB
/
index.html
1
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><title>L❤C</title><link href="./static/css/main.532493af.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript">var extend=function(o){for(var a=arguments.length,n=Array(1<a?a-1:0),e=1;e<a;e++)n[e-1]=arguments[e];return Object.assign.apply(Object,[{},o].concat(n))},parseColor=function(o){return"hsla("+o.h+","+o.s+"%,"+o.l+"%,"+o.a+")"},Color=extend.bind(null,{h:0,s:100,l:100,a:1}),Vector=extend.bind(null,{x:0,y:0}),Particle=extend.bind(null,{pos:Vector(),vel:Vector(),angle:0,speed:0,radius:0,rotation:0,color:Color()}),colors=[Color({h:20,s:100,l:50}),Color({h:200,l:50}),Color({h:300,l:50}),Color({h:100,l:40})],animationLoop=function o(a){a.animation&&a.animation(o.bind(null,a));var n=a.ctx,e=n.canvas,r=rough.canvas(e);n.clearRect(0,0,e.width,e.height),a.particles.map(function(o,a){o.pos.y-=o.speed,o.pos.x=a%2?o.pos.x+.2*Math.sin(o.angle):o.pos.x-.2*Math.cos(o.angle),o.angle+=.01,r.circle(o.pos.x,o.pos.y,o.radius,{fill:parseColor(o.color),roughness:1.5*Math.random(),hachureGap:o.hachureGap,hachureAngle:o.hachureAngle}),r.line(o.pos.x,o.pos.y+1.2*o.radius,o.pos.x,o.pos.y+o.radius/2,{bowing:3*Math.random()}),o.pos.y+3*o.radius<0&&(o.pos.y=e.height+3*o.radius,o.pos.x=Math.random()*(e.width-o.radius))})},scope={animation:requestAnimationFrame.bind(null),ctx:document.createElement("canvas").getContext("2d"),title:"Brian Douglas",rotation:0,particles:[]};!function(o){var a=o.ctx.canvas;a.width=window.innerWidth,a.height=window.innerHeight,document.body.appendChild(a);for(var n=50;n--;)o.particles.push(Particle({pos:{x:Math.random()*a.width,y:Math.random()*a.height},speed:Math.random()+.2,radius:60*Math.random()+20,color:colors[Math.floor(Math.random()*colors.length)],hachureAngle:90*Math.random(),hachureGap:8*Math.random()+1}));animationLoop(o)}(scope),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.addEventListener("resize",function(){scope.ctx.canvas.width=window.innerWidth,scope.ctx.canvas.height=window.innerHeight})</script><script type="text/javascript" src="./js/wmgwdw.js"></script><script type="text/javascript" src="./static/js/main.7d737de4.js"></script></body></html>