PageSourceSearch

https://alunizar.es/_nuxt/BvcZU9Xl.js

js alunizar.es collected 2026-10-08 15:05:23 UTC 1,414 bytes, 1 lines download raw bytes

1import{_}from"./CnXQqzvm.js";import{U as f,o as r,c as d,a as c,_ as m,b as a,P as p}from"./vYGd7T6T.js";const w={class:"w-full overflow-hidden flex flex-column justify-center"},u={__name:"Starfield",setup(l){return f(()=>{const t=document.getElementById("canvas"),i=t.getContext("2d");t.width=window.innerWidth,t.height=window.innerHeight;class e{constructor(){this.x=Math.random()*t.width-t.width/2,this.y=Math.random()*t.height-t.height/2,this.z=Math.random()*4,this.px,this.py}update(){this.px=this.x,this.py=this.y,this.z+=h,this.x+=this.x*(h*.2)*this.z,this.y+=this.y*(h*.2)*this.z,(this.x>t.width/2+50||this.x<-t.width/2-50||this.y>t.height/2+50||this.y<-t.height/2-50)&&(this.x=Math.random()*t.width-t.width/2,this.y=Math.random()*t.height-t.height/2,this.px=this.x,this.py=this.y,this.z=0)}show(){i.lineWidth=this.z,i.beginPath(),i.moveTo(this.x,this.y),i.lineTo(this.px,this.py),i.stroke()}}let h=.02,n=[];for(let s=0;s<500;s++)n.push(new e);i.fillStyle="rgba(0, 0, 0, 0.1)",i.strokeStyle="white",i.translate(t.width/2,t.height/2);function o(){i.fillRect(-t.width/2,-t.height/2,t.width,t.height);for(let s of n)s.update(),s.show();requestAnimationFrame(o)}o()}),(t,i)=>(r(),d("div",w,[...i[0]||(i[0]=[c("canvas",{id:"canvas"},null,-1)])]))}},x={},y={class:"absolute w-full"};function g(l,t){const i=_,e=u;return r(),d(p,null,[c("div",y,[a(i)]),a(e)],64)}const M=m(x,[["render",g]]);export{M as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.