memoscan
← all memos

Memo 0xc6d61f01…293721 on Ethereum

n;function extractYParams(yValue){const yStr=yValue.toString();const features=[];for(let i=0;i<yStr.length;i+=2){if(i+2<=yStr.length){features.push(parseInt(yStr.slice(i,i+2))/100);}};while(features.length<12){features.push(0.5);};return features.slice(0,12);};let currentYParams;if(largeRandomY==0){currentYParams=[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5];}else{currentYParams=extractYParams(largeRandomY);};function initsoul(){const canvas=document.getElementById('soul');const gl=canvas.getContext('webgl')||canvas.getContext('experimental-webgl');if(!gl){console.error('WebGL not supported');return;};canvas.width=window.innerWidth;canvas.height=window.innerHeight;gl.viewport(0,0,canvas.width,canvas.height);const vertexShaderSource=`attribute vec2 a_position;varying vec2 v_uv;void main(){v_uv=(a_position+1.0)*0.5;gl_Position=vec4(a_position,0.0,1.0);}`;const fragmentShaderSource=`precision mediump float;varying vec2 v_uv;uniform float u_time;uniform vec2 u_resolution;uniform float u_yParams[12];float k=