Transaction 3ebd40d7a8ad849800a3a3c523e965c08495c52a68624eda9df79d26a0a5eecb
1 Input
-
0d8a8c49e130016af2df200726401be025dc9adeb6761d3b06f02b85d2f49fef:1
OP_DATA_32(32) c929ee9771f8897530fd3689fab8f13da5cae8a781f8a23680fc35dd8798da81OP_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) <html> <head> <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.js"></script> </head> <body> <script type="application/javascript"> let img; const pieces = []; const gridSize = 16; let pieceWidth, pieceHeight; let waveSpeed = 0.05; let waveAmplitude = 20; function preload() { img = loadImage('/content/ab86b10930afcf132ebed2ed79c547c427c383eade4e034c72374d52728e9c26i0'); } function setup() { createCanvas(420, 420); pieceWidth = width / gridSize; pieceHeight =OP_PUSHDATA2(77) height / gridSize; for (let y = 0; y < height; y += pieceHeight) { for (let x = 0; x < width; x += pieceWidth) { pieces.push({ img: img.get(x, y, pieceWidth, pieceHeight), x, y, origX: x, origY: y }); } } } function draw() { background(0); for (let i = 0; i < pieces.length; i++) { let piece = pieces[i]; let distance = dist(width / 5, height / 3, piece.origX, piece.origY); let angle = frameCount * waveSpeed + distance * 0.05; let xWave = waveAmplitude * sin(angle);OP_PUSHDATA1(76) let yWave = waveAmplitude * cos(angle); image(piece.img, piece.origX + xWave, piece.origY + yWave, pieceWidth, pieceHeight); } } </script> </body> </html>OP_ENDIF(104)
1 Outputs
- 3ebd40d7a8ad849800a3a3c523e965c08495c52a68624eda9df79d26a0a5eecb:0
value 546
address bc1pmrpqs23h0km95rj4p40upu86zz6ccw0ketew5xnxhu92fawv6rqszfqp27