Transaction 2568a814e4663879fd01d468b28c8e249483ccc8ac543dd81a190febffa19e0c
1 Input
-
19e963381be99b0954415b87c7a191d430ed9a385d77e4722c435f765a34e3bf:0
OP_DATA_32(32) caea8169e140ad84c409c494cfe2f1907fe359e677ff2de974533929e3d0312dOP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_23(23) text/html;charset=utf-8OP_0(0)OP_PUSHDATA2(77) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>"Gleam" by Paweł Dudko | pdudko.com</title> <script id="snippet-random-code" type="text/javascript"> // not editable let seed=window.location.href.split('/').find(t=>t.includes('i0')); if (seed==null){ const alphabet = "0123456789abcdefghijklmnopqrstuvwsyz"; seed = new URLSearchParams(window.location.search).get("seed") || Array(64).fill(0).map(_=>alphabet[(Math.random()*alphabet.length)|0]).join('')+"i0"; }else{ let pattern="seed="; for (let i=OP_PUSHDATA2(77) 0;i<seed.length-pattern.length;++i) if (seed.substring(i,i+pattern.length)==pattern) { seed=seed.substring(i+pattern.length); break;}} function cyrb128($){ let _=1779033703,u=3144134277,i=1013904242,l=2773480762; for (let n=0,r;n<$.length;n++) _=u^Math.imul(_^(r=$.charCodeAt(n)),597399067),u=i^Math.imul(u^r,2869860233),i=l^Math.imul(i^r,951274213),l=_^Math.imul(l^r,2716044179); return _=Math.imul(i^_>>>18,597399067),u=Math.imul(l^u>>>22,2869860233),i=Math.imul(_^i>>>17,951274213),l=Math.imul(u^l>>>19,2716044179),[OP_PUSHDATA2(77) (_^u^i^l)>>>0,(u^_)>>>0,(i^_)>>>0,(l^_)>>>0]} function sfc32($,_,u,i){ return function(){ u>>>=0,i>>>=0; var l=($>>>=0)+(_>>>=0)|0; return $=_^_>>>9,_=u+(u<<3)|0,u=(u=u<<21|u>>>11)+(l=l+(i=i+1|0)|0)|0,(l>>>0)/4294967296}} let fR = sfc32(...cyrb128(seed)); console.log(seed) </script> <style>body{margin:0;padding:0;overflow:hidden;}</style> </head> <body> <canvas id="canvas"></canvas> <script type="text/javascript"> const dX=window.innerWidth,dY=window.innerHeight,dim=Math.min(dX,dY);function limitVec(t=[],e){let r=MOP_PUSHDATA2(77) ath.hypot(...t);t.forEach(((i,a)=>t[a]=i/r*e))}function or(t,e,r){return R.rB(r)?t:e}class Rnd{rD(){return fR()}rN(t,e){return t+(e-t)*this.rD()}rI(t,e){return 0|this.rN(t,e+1)}rB(t){return this.rD()<t}}const R=new Rnd;class B{constructor(t,e,r){this.p=[R.rD()*dX,R.rD()*dY],this.v=[R.rN(-1,1),R.rN(-1,1)],this.s=t,this.c=e,this.r=r}edges(){this.p[0]=(this.p[0]+dX)%dX,this.p[1]=(this.p[1]+dY)%dY}update(){this.p[0]+=this.v[0],this.p[1]+=this.v[1],limitVec(this.v,this.s)}show(){let t=this.r,e=dim/20,[r,i]=this.p;t*=MatOP_PUSHDATA2(77) h.min(r<=e?r/e:1,r>=dX-e?(dX-r)/e:1,i<=e?i/e:1,i>=dY-e?(dY-i)/e:1),CT.beginPath(),CT.arc(r,i,Math.abs(t),0,2*Math.PI),CT.fillStyle=this.c,CT.fill()}}let pC=[],p=R.rI(0,8),S=R.rI(80,100),bV=[],F=[],f=60,iN=R.rB(.65);var Tn,c=document.createElement("canvas"),CT=c.getContext("2d"),Tt=0,FD=25;c.width=dX,c.height=dY;const vs2="attribute vec2 a_position;attribute vec2 a_texCoord;varying vec2 vUv;uniform vec2 u_resolution;void main(){vUv=a_texCoord;vec2 clipSpace=a_position/u_resolution*2.-1.;gl_Position=vec4(clipSpace*veOP_PUSHDATA2(77) c2(1,-1),0,1);}",fs2=`precision mediump float;varying vec2 vUv;uniform vec2 dl;uniform sampler2D uI;uniform float t;void main(){vec2 uv=(vUv-.5)/3.;for (float i=1.;i<4.;i++)uv.x ${or("-","+",.5)}=.1/i*${or("sin","cos",.5)}(i*${R.rN(8,R.rN(12,15))+.1}*uv.y+${R.rN(0,1e4)+.1}+t/${R.rN(80,150)}),uv.y ${or("-","+",.5)}=.1/i*${or("sin","cos",.5)}(i*${R.rN(8,R.rN(12,15))+.1}*uv.x+${R.rN(0,1e4)+.1}+t/${R.rN(80,150)});vec4 C=vec4(0.);float tt=0.,off=fract(sin(dot(gl_FragCoord.xyz,vec3(12.9898,78.233,151.7182)))*43758.5453);OP_PUSHDATA2(77) for(float t=-30.;t<=30.;t++){float pc=(t+off-.5)/30.,w=1.-abs(pc);vec4 spl=texture2D(uI,vUv+uv+dl*pc);spl.rgb*=spl.a;C+=spl*w;tt+=w;}C/=tt;float l=length(C),m=smoothstep(1.32,1.732,l)*l*1.5;vec4 L=C/l*m;float v=length(vUv-.5)/.9;v=smoothstep(1.,0.,v);gl_FragColor = vec4((C.rgb+L.rgb)*v,1.);}`;function setup(){pC.push(...[["#200A0E","#85FFC7","#170F08","#297373","#F2C14E",""],["#000","#091425","#588B8B","#F28F3B","#C8553D","#2D3047","#93B7BE","#FFD5C2"],["#200e36","#E04372","#F32A00","#f28f3b","#D3EAC0","#EDC557"],[OP_PUSHDATA2(77) "#000","#2F1517","#E54508","#F32A00","#2AABCF","#6CBAB5","#C3CAA1"],["#000","#0B1626","#68D1E6","#A6DAD7","#DFE3CB","#F2852F","#F96800"],["#200E36","#E04372","#5AA9E6","#4A4E69","#FBFBD6","#E04372","#E6B953"],["#1E1E3D","#002030","#009FAF","#CB323E","#EA6740","#ECC850","#C4DFDB"],["#0B1626","#2F1517","#4599B5","#A84B28","#B4DDDD","#C4E4A2"],["#200e36","#2B0426","#366290","#E27D52","#D3EAC0","#EDC557","#A8DAB9"]][p]);let t=pC.length-1;for(ii=0;ii<3;ii++)for(i=t-1;i<=t;i++)pC.push(pC[i]);CT.beginPath(),CT.rect(0,0,c.OP_PUSHDATA2(77) width,c.height),CT.fillStyle="#000",CT.fill();let e=[0,0],r=R.rN(1,3);for(let t=0;t<S;t++){let i=iN?r:R.rN(1,4),a=pC[R.rI(0,pC.length-1)],l=R.rI(dim/20,R.rI(dim/20,dim/5));F.push(new B(i,a,l)),e.forEach(((e,r,i)=>i[r]+=F[t].v[r]))}e.forEach(((t,e,r)=>r[e]/=S)),limitVec(e,.4),bV=e}function draw(){if((Tn=Date.now())-Tt>FD){Tt=Tn-Tt%FD,CT.beginPath(),CT.rect(0,0,c.width,c.height),CT.globalAlpha=f>50?1:.05,CT.fillStyle="#000",CT.fill(),CT.globalAlpha=f<0?1:f>50?0:(50-f)/50;for(let t of F)t.edges(),t.update(),t.show();rOP_PUSHDATA2(77) ender(),f--}window.requestAnimationFrame(draw)}function createShader(t,e,r){var i=t.createShader(e);return t.shaderSource(i,r),t.compileShader(i),t.getShaderParameter(i,t.COMPILE_STATUS)?i:t.deleteShader(i)}function createProgram(t,e,r){var i=t.createProgram();return t.attachShader(i,e),t.attachShader(i,r),t.linkProgram(i),t.getProgramParameter(i,t.LINK_STATUS)?i:t.deleteProgram(i)}function setRectangle(t,e,r,i,a){t.bufferData(t.ARRAY_BUFFER,new Float32Array([e,r,e+i,r,e,r+a,e,r+a,e+i,r,e+i,r+a]),t.STATIC_DRAW)}conOP_PUSHDATA2(77) st gl=document.getElementById("canvas").getContext("webgl");canvas.width=dX,canvas.height=dY;const PR=createProgram(gl,createShader(gl,gl.VERTEX_SHADER,vs2),createShader(gl,gl.FRAGMENT_SHADER,fs2)),PL=gl.getAttribLocation(PR,"a_position"),tcL=gl.getAttribLocation(PR,"a_texCoord"),pB=gl.createBuffer(),tcB=gl.createBuffer(),t=gl.createTexture(),rL=gl.getUniformLocation(PR,"u_resolution"),bVL=gl.getUniformLocation(PR,"dl"),tFL=gl.getUniformLocation(PR,"t");function render(){if(!gl)return console.log("WebGL is not avaiOP_PUSHDATA2(77) lable");gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,gl.RGBA,gl.UNSIGNED_BYTE,CT.canvas),gl.useProgram(PR),[PL,tcL].forEach(((t,e)=>{gl.enableVertexAttribArray(t),gl.bindBuffer(gl.ARRAY_BUFFER,[pB,tcB][e]),gl.vertexAttribPointer(t,2,gl.FLOAT,!1,0,0)})),gl.uniform2fv(rL,[gl.canvas.width,gl.canvas.height]),gl.uniform2fv(bVL,bV),gl.uniform1f(tFL,Math.abs(f-60)),gl.drawArrays(gl.TRIANGLES,0,6)}gl.bindBuffer(gl.ARRAY_BUFFER,pB),setRectangle(gl,0,0,c.width,c.height),gl.bindBuffer(gl.ARRAY_BUFFER,tcB),gl.bufferData(gl.ARRAY_BUFFOP_PUSHDATA2(77) ER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),gl.STATIC_DRAW),gl.bindTexture(gl.TEXTURE_2D,t),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.NEAREST),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.NEAREST),gl.viewport(0,0,gl.canvas.width,gl.canvas.height),setup(),window.requestAnimationFrame(draw),window.$generativeTraits={Palette:p,Lights:S,Individual:iN},console.OP_PUSHDATA2(77) log(window.$generativeTraits); </script> <script defer src="https://static.cloudflareinsights.com/beacon.min.js/v2b4487d741ca48dcbadcaf954e159fc61680799950996" integrity="sha512-D/jdE0CypeVxFadTejKGTzmwyV10c1pxZk/AqjJuZbaJwGMyNHY3q/mTPWqMUnFACfCTunhZUVcd4cV78dK1pQ==" data-cf-beacon='{"rayId":"7b61a25f0932f981","version":"2023.3.0","b":1,"token":"6c07c178c94442f695e7a0a2aaee641a","si":100}' crossorigin="anonymous"></script> </body> </html>OP_ENDIF(104)
1 Outputs
- 2568a814e4663879fd01d468b28c8e249483ccc8ac543dd81a190febffa19e0c:0
value 10000
address bc1pzlvw4upqz6x8pn4hhdrh6zz75h6zg2d9n4geu2ewsd4l843kmzlqrxppvl