").attr({width:this.width,height:this.height}).appendTo(this.$container).get(0),this.context=this.canvas.getContext("2d"),this.jellyfishes=[],this.theta=0,this.x=0,this.y=0,this.destinationX=this.x,this.destinationY=this.y,this.dusts=[]},reconstructMethod:function(){this.render=this.render.bind(this)},getRandomValue:function(t){return t.min+(t.max-t.min)*Math.random()},createElements:function(){for(var t=0,e=this.JELLYFISH_RATE*this.width*this.height;tthis.width-this.ADJUST_OFFSET&&(this.destinationX=this.width),this.destinationYthis.height-this.ADJUST_OFFSET&&(this.destinationY=this.height))},render:function(){requestAnimationFrame(this.render),this.destinationX>this.x?this.x=Math.min(this.x+this.ADJUST_DISTANCE,this.destinationX):this.x=Math.max(this.x-this.ADJUST_DISTANCE,this.destinationX),this.destinationY>this.y?this.y=Math.min(this.y+this.ADJUST_DISTANCE,this.destinationY):this.y=Math.max(this.y-this.ADJUST_DISTANCE,this.destinationY);var t=this.context.createRadialGradient(this.x,this.y,0,this.x,this.y,this.radius);t.addColorStop(0,"hsl(245, 100%, 50%)"),t.addColorStop(.3,"hsl(245, 100%, 30%)"),t.addColorStop(1,"hsl(245, 100%, 10%)"),this.context.fillStyle=t,this.context.fillRect(0,0,this.width,this.height);for(var e=0,i=this.dusts.length;e=Math.PI-this.expansionDelta&&this.expansion<=Math.PI?this.expansion+=this.expansionDelta/this.EXTENSION_COUNT:this.expansion+=this.expansionDelta,this.expansion%=2*Math.PI,this.x+=this.vx,this.y+=this.vy,0<=this.expansion&&this.expansion<=Math.PI&&(this.vx+=this.ax,this.vy+=this.ay),this.vx*=this.FRICTION,this.vy*=this.FRICTION,this.judgeToReset()},createHead:function(t,e){t.beginPath(),t.moveTo(-e,this.baseY),t.bezierCurveTo(-this.baseCPX,this.baseCPY,this.baseCPX,this.baseCPY,e,this.baseY),t.closePath(),t.fill()},createMainPattern:function(t,e){t.beginPath(),t.moveTo(.6*-e,this.baseY),t.bezierCurveTo(.8*-this.baseCPX,.5*this.baseCPY,.8*this.baseCPX,.5*this.baseCPY,.6*e,this.baseY),t.stroke()},createSubPattern:function(t,e,i,s){t.save(),t.beginPath(),t.translate(e,i),t.rotate(s),t.scale(1,.5),t.arc(0,0,4,0,2*Math.PI,!1),t.stroke(),t.restore()},createFeeler:function(t,e){for(var i=-3;i<=3;i++){t.save(),t.beginPath(),t.strokeStyle=e,t.translate(2*i,this.baseY),t.moveTo(0,0),s=(a=0<=this.expansion&&this.expansion<=Math.PI?(Math.PI-this.expansion)/Math.PI:(this.expansion-Math.PI)/Math.PI,i*this.feelerWidth*a);var s,a=.5this.renderer.width+this.OFFSET_TO_JUDGE&&0this.renderer.height+this.OFFSET_TO_JUDGE&&0this.renderer.width+this.RADIUS||this.y<-this.RADIUS||this.y>this.renderer.height+this.RADIUS)&&this.init()}},$(function(){RENDERER.init()});:uses
Apps
- Ticktick for task management, calendar, note-capturing and long-form writing
- YouTube Premium with YouTube Music
- Github for publishing long-form writing
- Clockify for time tracking
- Raindrop.io for bookmarking
- Strava for exercise tracking
- Kaggle for notebooks
Tech
- iPad 10th gen
- Macbook Air 2015 running on MacOS Sierra (In critical condition. Please send your thoughts and prayers)
- Samsung A52S (Is falling apart and currently held together by tape. Please send your thoughts and prayers)
- Not sure if it's an iPhone 8 or an iPhone 7 Plus (Has janky batteries. Please send your thoughts and prayers)
- Sony wired earphones
- Sometimes I get to use my brother's old ASUS ROG laptop
Sites
- The themes section of astro.com
- Madebymusashi's reels on YouTube