Transaction 746578fa35e23404abff4ffbd4a49c104e0bd9a74392db1e74c9e6407bb59430

1 Input
  • 34c8f59f0a0c58e1072f167df61fb8f2e11b886f05e1d36e4e45a1542ea4dd11:0
    OP_DATA_32(32) 9f67bf7ab469f90378ea78dbc3f30811d7f43c29dff137dac87e872421b2eb81
    OP_CHECKSIG(172)
    OP_0(0)
    OP_IF(99)
    OP_DATA_3(3) ord
    OP_DATA_1(1) 
    OP_DATA_23(23) text/html;charset=utf-8
    OP_0(0)
    OP_PUSHDATA2(77) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Angular Decay</title> <script id="snippet-random-code" type="text/javascript"> 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 = 0; i <
    OP_PUSHDATA2(77) 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
    OP_PUSHDATA2(77) ^ u >>> 22, 2869860233), i = Math.imul(_ ^ i >>> 17, 951274213), l = Math.imul(u ^ l >>> 19, 2716044179), [(_ ^ 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 mathRand = sfc32(...cyrb128(seed)); </script> <style>body {margin: 0px;} </style>
    OP_PUSHDATA2(77) </head> <body> <canvas id="target"></canvas> <script type="text/javascript"> const rand = mathRand(); const rand2 = mathRand(); let sqpix,cp,ratio=0.707,bug=false; function T1(rand) { if(rand<0.3){sqpix=0;zoom=false;return"Portrait";} if(rand<0.6){sqpix=0;ratio=1.414;return"Lanscape";} if(rand<0.95){sqpix=1;return"Square";} sqpix=1;bug=1;return"Bugged";} function T2(rand) { if(rand<0.07){cp=12;return "Paper";} if(rand<0.14){cp=1;return "DPM";} if(rand<0.21){cp=2;return "Fecktarn";} if(rand<0.32){c
    OP_PUSHDATA2(77) p=3;return "BDU";} if(rand<0.41){cp=4;return "Desert Drill";} if(rand<0.5){cp=5;return "Urban";} if(rand<0.6){cp=6;return "Navy";} if(rand<0.7){cp=7;return "German Winter";} if(rand<0.8){cp=8;return "Tree";} if(rand<0.85){cp=9;return "Orange";} if(rand<0.9){cp=10;return "Harris";} if(rand<0.95){cp=11;return "Market";} cp=0;return "Saint";} window.$generativeTraits = {"View": T1(rand),"Pallet": T2(rand2) } const container = document.createElement("div") container.innerHTML = "<span>seed: " + seed + "</sp
    OP_PUSHDATA2(77) an><br>"; let resizeTmr=null,aniFrame=null; let ofw,ofh,sz,rz=1; let gi=0,gj=0,drp=0,drawtot=2,bmp,artcols=[]; var tricount=0,tr=30; var tried=false; var tc=0,rc=0; var tx1=[],ty1=[],tx2=[],ty2=[],tx3=[],ty3=[]; var rx1=[],ry1=[],rx2=[],ry2=[],rx3=[],ry3=[]; let dor=false; const init = async () => { window.addEventListener('resize', async () => { clearTimeout(resizeTmr) resizeTmr = setTimeout(async () => { await layoutCanvas() }, 100) }) await layoutCanvas() } const layoutCanvas = async () => {
    OP_PUSHDATA2(77) const wWidth=window.innerWidth const wHeight=window.innerHeight if(sqpix>0)ratio=1; let cHeight=wHeight; let cWidth=cHeight*ratio; if(cWidth>wWidth){cWidth=wWidth;cHeight=cWidth/ratio;} drp=0;gi=0;gj=0; const canvas=document.getElementById('target') canvas.width=2000*rz; canvas.height=(2000*rz)/ratio; canvas.style.position = 'absolute' canvas.style.width = `${cWidth}px` canvas.style.height = `${cHeight}px` canvas.style.left = `${(wWidth - cWidth) / 2}px` canvas.style.top = `${(wHeight - cHeight) / 2}p
    OP_PUSHDATA2(77) x` ofw=canvas.width; ofh=canvas.height; sz=ofw/1000; drawCanvas() } const drawCanvas = async () => { if(!tried) setupart(); if (aniFrame) window.cancelAnimationFrame(aniFrame) const canvas=document.getElementById('target') const ctx=canvas.getContext('2d') if(drp==2) {let bx=ofw/500,by=ofh/500; ctx.globalAlpha=0.05; for(let f=10;f<30; f++){ for(let i=0;i<500; i++){ drawEllipse(ctx, bx*i + ri(3)*sz, by*gj+ ri(3)*sz, bx/2,bx/2,'#ffffff'); drawEllipse(ctx, bx*i + ri(3)*sz, by*gj+ ri(3)*sz, bx/2,bx/2,'
    OP_PUSHDATA2(77) #202020'); }gj++;} ctx.globalAlpha=1; if(gj>500) { drp=3; gj=0; } } if(drp==1) { for(let f=0;f<tc;f++){ if(bug) dl(ctx, tx1[f]*sz,ty1[f]*sz, tx2[f]*sz*sz,ty2[f]*sz, artcols[1], 1*sz); else dl(ctx, tx1[f]*sz,ty1[f]*sz, tx2[f]*sz,ty2[f]*sz, artcols[1], 1*sz); dl(ctx, tx2[f]*sz,ty2[f]*sz, tx3[f]*sz,ty3[f]*sz, artcols[1], 1*sz); dl(ctx, tx1[f]*sz,ty1[f]*sz, tx3[f]*sz,ty3[f]*sz, artcols[1], 1*sz);} for(let f=0;f<rc;f++){ dl(ctx, rx1[f]*sz,ry1[f]*sz, rx2[f]*sz,ry2[f]*sz, artcols[2], 1*sz); dl(ctx, rx2[f]*sz
    OP_PUSHDATA2(77) ,ry2[f]*sz, rx3[f]*sz,ry3[f]*sz, artcols[2], 1*sz); dl(ctx, rx1[f]*sz,ry1[f]*sz, rx3[f]*sz,ry3[f]*sz, artcols[2], 1*sz);} drp=2} if(drp==0) { ctx.fillStyle = artcols[0]; ctx.fillRect(0,0,ofw,ofh); if(!tried){ mathRand = sfc32(...cyrb128(seed)); tc=0;rc=0;tricount=0;tr=30;bmp=0; triharder(500, 500, 500+rir(-tr,tr), 500+rir(-tr,tr)); tricount=1000;tr=rir(10,50);dor=true;bmp=0; triharder(500, 500, 500+rir(-tr,tr), 500+rir(-tr,tr)); tried=true;} drp=1; } ctx.restore() aniFrame = window.requestAnimation
    OP_PUSHDATA2(77) Frame(drawCanvas) } function triharder( x1,y1, x2,y2) { if(tricount>2500) return; var x3=x1+rir(-tr,tr); var y3=y1+rir(-tr,tr); if(x3<0){x3+=tr;bmp++} if(x3>1000){x3-=tr;bmp++} if(y3<0){y3+=tr;bmp++} if(y3>1000/ratio){y3-=tr;bmp++} if(dor) {rx1[rc]=x1;ry1[rc]=y1;rx2[rc]=x2;ry2[rc]=y2;rx3[rc]=x3;ry3[rc]=y3;rc++; } else {tx1[tc]=x1;ty1[tc]=y1;tx2[tc]=x2;ty2[tc]=y2;tx3[tc]=x3;ty3[tc]=y3;tc++;} tricount++; if(bmp>15){bmp=0; x3=y3=500;x1=rir(500,500+tr);y1=rir(500,500+tr);x2=rir(500,500-tr);y2=rir(500,500-
    OP_PUSHDATA2(77) tr)} triharder(x3,y3, x1,y1); if(ri(100)>20) triharder(x3,y3, x2,y2); } const autoDownloadCanvas = async () => { const element = document.createElement('a') element.setAttribute('download',`Angular-${ofw}x${ofh}-${seed}`) element.style.display = 'none' document.body.appendChild(element) let imageBlob = null imageBlob = await new Promise(resolve => document.getElementById('target').toBlob(resolve, 'image/png')) element.setAttribute('href', window.URL.createObjectURL(imageBlob, { type: 'image/png' })) e
    OP_PUSHDATA2(77) lement.click() document.body.removeChild(element) } document.addEventListener('keypress', async (e) => { e = e || window.event if (e.key === 's') autoDownloadCanvas() if (e.key === 'h') { rz++;if(rz>5)rz=1;drp=0;gi=0;gj=0;await layoutCanvas() } }) function drawEllipse(ctx,x,y,rx,ry,fill) { ctx.beginPath() ctx.ellipse(x, y, rx, ry, 0, 0, 2 * Math.PI); if (fill) {ctx.fillStyle = fill;ctx.fill();} } function dl(ctx,lx,ly,ex,ey,stroke,width) { if (stroke) {ctx.strokeStyle = stroke;} if (width) { ctx.lin
    OP_PUSHDATA2(77) eWidth = width; } ctx.beginPath();ctx.moveTo(lx,ly);ctx.lineTo(ex,ey);ctx.stroke(); } function setupart() { if(cp==12)artcols=['#EDECE0','#303030','#880808']; if(cp==0) artcols=['#F0BEB2','#F25B40','#3A8D3B']; if(cp==11)artcols=['#4F97BA','#F9E1B5','#BD2C41']; if(cp==1) artcols=['#25201E','#D3A252','#686C22']; if(cp==2) artcols=['#B4CBCA','#1F5FB3','#355026']; if(cp==3) artcols=['#D1C7C5','#6E5247','#8D695D']; if(cp==4) artcols= ['#E4DBBE','#8BB8B3','#AF799A']; if(cp==5) artcols= ['#B8B8B3','#474747','
    OP_PUSHDATA2(77) #787878']; if(cp==6) artcols= ['#A6B2C7','#323642','#394A69']; if(cp==7) artcols= ['#E6E6E4','#343523','#B2B2AD']; if(cp==8) artcols= ['#A9A18E','#706B5C','#606A4D']; if(cp==9) artcols= ['#EDECE0','#944645','#F25D34']; if(cp==10) artcols= ['#9FA6A4','#77694E','#B54933']; } function ri( x){ return Math.floor(mathRand()*x);} function rir(x,y){ let nr = (y - x) ; return Math.floor((mathRand()*nr) + x); } init(); </script> </body> </html>
    OP_ENDIF(104)
1 Outputs
  • 746578fa35e23404abff4ffbd4a49c104e0bd9a74392db1e74c9e6407bb59430:0
  • value  10000
    address  bc1pyfyvkr7u6hemz9tpl7phtw7lndxf0tnnm3aq5enr34qppnfr3mzqfgxmx7