let style=document.createElement('style');style.innerHTML="body{background:#fff;overflow:hidden;margin:0;padding:0;display:flex;justify-content:center;align-items:center;}#a{position:relative;width:100vmin;height:98vmin;}.b{position:absolute;border:calc(0.1vw + 0.1vh) solid #000;}.c{border-radius:50%;}";document.head.appendChild(style); class D{constructor(a){this.a=a%2147483647;if(this.a<=0){this.a+=2147483646;}}b(){return this.a=this.a*16807%2147483647;}c(){return(this.b()-1)/2147483646;}} function E(a,b,c){return c.c()*(b-a)+a;} function F(a,i,N){const b=Math.floor(360*i/N),c=E(.27,1,a);return`hsla(${b},100%,85%,${c})`;} window.G=function(seed){const a=new D(seed),N=Math.floor(E(300,7000,a)),c=document.getElementById('a'),d=a.c(),e=d<.05?'a':d<.1?'b':'c',numSpirals=E(1,20,a);for(let i=0;i<N;i++){const b=document.createElement('div');b.className='b';b.className+=e==='a'&&a.c()<.5?' b':' c';const f=E(1,5,a),angle=2*Math.PI*numSpirals*i/N,distance=50*Math.sqrt(i/N),randomness=10*(a.c()-0.5);let g=50+(distance+randomness)*Math.sin(angle)-f/2,h=50+(distance+randomness)*Math.cos(angle)-f/2;g=g<0?0:g>100-f?100-f:g;h=h<0?0:h>100-f?100-f:h;b.style.width=`${f}%`;b.style.height=`${f}%`;b.style.left=`${g}%`;b.style.top=`${h}%`;b.style.backgroundColor=F(a,i,N);c.appendChild(b);}};
Inscription number 12,007,900
Genesis block 794,513
File type text
File size 1.26 KB
Creation date Jun 15,2023 9:55 pm