{"id":59,"date":"2026-10-29T05:37:38","date_gmt":"2026-10-29T05:37:38","guid":{"rendered":"https:\/\/www.iuorno.com\/?page_id=59"},"modified":"2026-10-29T05:44:41","modified_gmt":"2026-10-29T05:44:41","slug":"start","status":"publish","type":"page","link":"https:\/\/www.iuorno.com\/","title":{"rendered":"Start"},"content":{"rendered":"<style data-wp-block-html=\"css\">\n#dh .dh-text *{pointer-events:auto}\n#dh .dh-score{--p:0;position:absolute;top:max(14px,env(safe-area-inset-top));right:16px;z-index:3;pointer-events:none;width:clamp(84px,11vw,120px);aspect-ratio:1;border-radius:50%;display:grid;place-content:center;text-align:center;color:#fff;font-family:system-ui,sans-serif;background:conic-gradient(#ffd23f calc(var(--p)*1%),rgba(255,255,255,.2) 0);box-shadow:0 4px 16px rgba(0,40,60,.35);text-shadow:0 1px 6px rgba(0,40,60,.6)}\n#dh .dh-score::before{content:\"\";position:absolute;inset:7px;border-radius:50%;background:rgba(3,40,60,.72)}\n#dh .dh-score b,#dh .dh-score small{position:relative}\n#dh .dh-score b{font-size:clamp(24px,3.4vw,38px);line-height:1}\n#dh .dh-score small{font-size:clamp(10px,1.3vw,13px);letter-spacing:.14em;text-transform:uppercase;opacity:.85}\n#dh{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;max-width:none!important;transform:none!important;z-index:99990}\nhtml:has(#dh),body:has(#dh){overflow:hidden!important}<\/p>\n<\/style>\n<p><script data-wp-block-html=\"js\">\n(()=>{const start=()=>{\nconst box=document.getElementById('dh'),cv=box.querySelector('canvas'),g=cv.getContext('2d',{alpha:false}),scEl=box.querySelector('.dh-score'),nEl=scEl.querySelector('b'),setScore=()=>{nEl.textContent=score;scEl.style.setProperty('--p',score%100)};\nconst M=Math,PI=M.PI,sin=M.sin,cos=M.cos,T=56,BC=['#ff6f91','#ffd23f','#7cf0c9','#c58cff','#ff9a3c','#7cd7ff'];\nlet W,H,U,dpr,bgC,fgC,weeds,bub,turtles,grass,oma,tau,seed=7,tm,hitT,flash,parts,d,sh,vis=true,last=0,rayG,dg=null,pop=[],txt=[],spT=0,score=0,rs=[],spS=0;\nconst rnd=()=>(seed=seed*16807%2147483647)\/2147483647,rr=(a,b)=>a+rnd()*(b-a);\nconst wrap=a=>{while(a>PI)a-=2*PI;while(a<-PI)a+=2*PI;return a},clamp=(v,a,b)=>v<a?a:v>b?b:v;\nconst lg=(y0,y1,st)=>{const r=g.createLinearGradient(0,y0,0,y1);st.forEach(s=>r.addColorStop(s[0],s[1]));return r};\nfunction branch(c,x,y,a,len,w,col,dp){if(!dp)return;const x2=x+cos(a)*len,y2=y+sin(a)*len;c.strokeStyle=col;c.lineWidth=w;c.lineCap='round';c.beginPath();c.moveTo(x,y);c.lineTo(x2,y2);c.stroke();for(let i=0,n=2+(rnd()<.4);i<n;i++)branch(c,x2,y2,a+rr(-.7,.7),len*rr(.7,.82),w*.78,col,dp-1)}\nfunction reef(c,far){const base=H*(far?.91:.985),u=H\/720*(far?.7:1.2),pal=far?['#3b7fa6','#4a8fb0','#5a7fb5','#3f9aa8']:['#ff6f91','#ff9a3c','#c45bd6','#ffd23f','#ff5e5e','#7cf0c9'];\nc.globalAlpha=far?.8:1;\nfor(let x=-20*u;x<W+20*u;x+=rr(32,75)*u){const col=pal[rnd()*pal.length|0],t=rnd();\nif(t<.45){for(let k=0;k<3;k++)branch(c,x+k*6*u,base,-PI\/2+rr(-.5,.5),rr(26,46)*u,7*u,col,4)}\nelse if(t<.7){c.fillStyle=col;c.beginPath();c.ellipse(x,base,rr(25,45)*u,rr(18,34)*u,0,PI,0);c.fill();c.strokeStyle='rgba(0,0,0,.14)';c.lineWidth=2*u;for(let k=0;k<3;k++){c.beginPath();c.arc(x+rr(-12,12)*u,base-rr(8,18)*u,rr(5,12)*u,PI*.9,PI*2.1);c.stroke()}}\nelse if(t<.85){c.strokeStyle=col;c.lineWidth=3*u;for(let i=-5;i<=5;i++){c.beginPath();c.moveTo(x,base);c.quadraticCurveTo(x+i*4*u,base-35*u,x+i*10*u,base-rr(55,85)*u);c.stroke()}}\nelse{for(let k=0;k<4;k++){const h=rr(30,70)*u;c.fillStyle=col;c.fillRect(x+k*12*u,base-h,9*u,h);c.fillStyle='rgba(0,0,0,.25)';c.beginPath();c.ellipse(x+k*12*u+4.5*u,base-h,4.5*u,2.5*u,0,0,2*PI);c.fill()}}}\nc.globalAlpha=1}\nfunction mk(){const c=document.createElement('canvas');c.width=W;c.height=H;return c}\nfunction build(){\ndpr=M.min(devicePixelRatio||1,1.5);W=cv.width=M.round(box.clientWidth*dpr);H=cv.height=M.round(box.clientHeight*dpr);U=M.min(W,H*1.78);seed=7;\nbgC=mk();let b=bgC.getContext('2d'),gr=b.createLinearGradient(0,0,0,H);gr.addColorStop(0,'#2fd8ea');gr.addColorStop(.55,'#0f9ab8');gr.addColorStop(1,'#054a68');b.fillStyle=gr;b.fillRect(0,0,W,H);\nreef(b,true);gr=b.createLinearGradient(0,H*.88,0,H);gr.addColorStop(0,'#d9d0a0');gr.addColorStop(1,'#5f8f8c');b.fillStyle=gr;b.beginPath();b.moveTo(0,H);for(let x=0;x<=W+1;x+=W\/20)b.lineTo(x,H*.9+sin(x\/W*9)*H*.015);b.lineTo(W,H);b.fill();\nfgC=mk();reef(fgC.getContext('2d'),false);\nrayG=lg(0,H*.85,[[0,'rgba(255,255,255,.16)'],[1,'rgba(255,255,255,0)']]);\nweeds=Array.from({length:24},(_,i)=>({x:rr(0,W),h:rr(.12,.26)*H,c:['#2e9e6b','#43b581','#1f7a5a'][i%3]}));\nbub=Array.from({length:55},()=>({x:rnd()*W,y:rnd()*H,r:rr(1.5,6)*dpr,v:rr(.02,.07)*U}));\ngrass=Array.from({length:46},()=>({x:rr(.3,.75)*W,h:rr(.06,.11)*H,y:H*rr(.905,.93),e:0,c:['#3fae6a','#5cc77f','#2e9060'][rnd()*3|0]}));\nreset()}\nfunction reset(){tm=0;hitT=-1;flash=null;parts=[];dg=null;pop=[];txt=[];rs=[];spS=3;cv.style.cursor='';if(grass)grass.forEach(b=>b.e=0);turtles=[0,1,2].map(i=>({i,x:-W*(.15+i*.06),y:H*(.5+.07*i),a:0,sp:U*.1,ph:i*2,mode:'wait',pitch:0,gx:W*(.38+.12*i),gy:H*.835+(i>1?U*.01:0),L:U*(i>1?.045:.08),baby:i>1}));oma={x:W*1.15,y:H*.3,a:PI,sp:U*.2,ph:0,mode:'wait',pitch:0,su:'#a3245f',st:'#ffc2d6',hair:'#e3e7ec',mk:'rgba(150,225,255,.9)',mf:'#222',fin:'#ff7a3c'};tau={x:-W*.15,y:H*.4,a:0,sp:U*.2,ph:0,mode:'wait',pitch:0,ice:0,braid:1,su:'#f4f6f8',st:'#b9c6d0',hair:'#16110f',mk:'rgba(255,150,205,.9)',mf:'#e0529a',fin:'#ff6fa8'};d={x:W*.25,y:H*.45,a:0,sp:U*.3,ph:0};\nsh=[0,1,2,3,4].map(i=>({i,x:W*(1.3+i*.08),y:H*(.25+.1*i),a:PI,sp:U*.14,ph:i*1.7,on:false,mode:'idle',fl:1,tilt:0,L:U*(i?.15:.21)}))}\nfunction steer(o,tx,ty,spd,tr,dt){o.sp+=(spd-o.sp)*M.min(1,dt*3);o.a+=clamp(wrap(M.atan2(ty-o.y,tx-o.x)-o.a),-tr*dt,tr*dt);o.x+=cos(o.a)*o.sp*dt;o.y+=sin(o.a)*o.sp*dt;o.ph+=dt*(4+o.sp\/U*16)}\nconst mid=s=>({x:s.x-cos(s.a)*s.L*.35,y:s.y-sin(s.a)*s.L*.35});\nfunction flee(s){s.mode='flee';s.fx=(s.i>0||s.x>d.x)?W*1.7:-W*.7}\nfunction hit(s){hitT=tm;s.mode='knocked';s.tk=tm;s.vx=cos(d.a)*U*.6;s.vy=sin(d.a)*U*.6-U*.08;const m=mid(s);flash={x:m.x,y:m.y,t:tm};\nfor(let i=0;i<30;i++)parts.push({x:m.x,y:m.y,vx:rr(-1,1)*U*.22,vy:rr(-1,1)*U*.22,r:rr(3,10)*dpr,l:rr(.8,1.6)})}\nconst hr=o=>o.i===undefined?U*.06:M.max(o.L*.6,U*.04);\nconst pick=p=>{for(const o of[tau,oma,turtles[2],turtles[1],turtles[0]])if(o.mode!='wait'?M.hypot(o.x-p.x,o.y-p.y)<hr(o):0)return o};\nconst pos=e=>{const r=cv.getBoundingClientRect();return{x:(e.clientX-r.left)*W\/r.width,y:(e.clientY-r.top)*H\/r.height}};\nconst drop=()=>{if(dg){dg.o.drag=0;dg=null}cv.style.cursor=''};\ncv.addEventListener('pointerdown',e=>{const p=pos(e),o=pick(p);if(!o||dg)return;dg={o,id:e.pointerId,x:o.x,y:o.y,ox:o.x-p.x,oy:o.y-p.y};o.drag=1;try{cv.setPointerCapture(e.pointerId)}catch(_){}cv.style.cursor='grabbing';e.preventDefault()});\ncv.addEventListener('pointermove',e=>{const p=pos(e);if(dg){if(e.pointerId==dg.id){dg.x=clamp(p.x+dg.ox,0,W);dg.y=clamp(p.y+dg.oy,H*.05,H*.95)}}else if(e.pointerType=='mouse')cv.style.cursor=pick(p)?'grab':''});\n['pointerup','pointercancel','lostpointercapture'].forEach(n=>cv.addEventListener(n,e=>{if(dg?e.pointerId==dg.id:0)drop()}));\ncv.addEventListener('touchstart',e=>{if(dg)e.preventDefault()},{passive:false});\ncv.addEventListener('touchmove',e=>{if(dg)e.preventDefault()},{passive:false});\nfunction dragStep(o,dt){const k=M.min(1,dt*14),r=1\/M.max(dt,.001),nx=o.x+(dg.x-o.x)*k,ny=o.y+(dg.y-o.y)*k,vx=(nx-o.x)*r,vy=(ny-o.y)*r;o.x=nx;o.y=ny;\nif(M.abs(vx)>U*.06)o.a=vx>0?0:PI;\no.pitch+=(clamp(vy\/(U*.6)*.5,-.5,.5)-o.pitch)*M.min(1,dt*6);o.ph+=dt*(4+M.hypot(vx,vy)\/U*10)}\nfunction step(dt){\ntm+=dt;if(tm>=T){reset();return}\nconst s0=sh[0];let tx,ty,spd=U*.3,tr=2.6;\nif(tm<18){tx=W*(.5+.38*sin(tm*.42));ty=H*(.46+.2*sin(tm*.7+1))}\nelse{const k=tm-18;tx=W*(.5+.3*sin(k*.45))+cos(k*1.9)*U*.13;ty=H*.45+sin(k*1.9)*H*.17;spd=U*.36;tr=3.6}\nif(s0.mode=='charge'){const m=mid(s0),dist=M.hypot(m.x-d.x,m.y-d.y);\n if(dist<U*.34){tx=m.x;ty=m.y+s0.L*.06;spd=U*.62;tr=9}\n if(dist<U*.05||tm-s0.t0>4.5)hit(s0)}\nsteer(d,tx,ty,spd,tr,dt);d.y=clamp(d.y,H*.1,H*.72);d.x=clamp(d.x,-W*.04,W*1.04);\nsh.forEach((s,i)=>{\n if(s.mode=='idle'){if(tm>=7+i*.4){s.mode='cruise';s.on=true}return}\n if(s.mode=='cruise'){steer(s,W*(.68+.14*sin(tm*.4+i*2)),H*(.22+.1*i+.05*sin(tm*.6+i)),U*.14,1.4,dt);\n  if(i==0?tm>=10.5:0){s.mode='charge';s.t0=tm}\n  if(i>0?hitT>=0?tm>hitT+.3+i*.12:0:0)flee(s)}\n else if(s.mode=='charge')steer(s,d.x,d.y,U*.44,3,dt);\n else if(s.mode=='knocked'){const k=M.min((tm-s.tk)\/1.3,1),f=M.pow(.1,dt);s.x+=s.vx*dt;s.y+=s.vy*dt;s.vx*=f;s.vy*=f;s.fl=cos(k*2*PI);s.tilt=.8*sin(k*2*PI);s.ph+=dt*16;if(k>=1){s.fl=1;s.tilt=0;flee(s)}}\n else if(s.mode=='flee'){steer(s,s.fx,s.y,U*.42,3,dt);if(s.x>W*1.35||s.x<-W*.35){s.on=false;s.mode='gone'}}\n});\nturtles.forEach(o=>{const i=o.i;\n if(o.mode=='wait'){if(tm>=18+i*1.3)o.mode='in';return}\n if(o.drag){dragStep(o,dt);return}\n if(o.mode=='in'){steer(o,o.gx,o.gy,U*.11,1.8,dt);o.pitch=.5*sin(o.a);if(M.hypot(o.gx-o.x,o.gy-o.y)<U*.04)o.mode='graze'}\n else if(o.mode=='eis'){const L2=U*.11,tf=cos(tau.a)<0?-1:1,hx=tau.x+tf*L2*.45,s=hx>o.x?1:-1,tx=hx-s*(o.L*.62+L2*.06),ty=tau.y-L2*.27,k=M.min(1,dt*2.5);o.x+=(tx-o.x)*k;o.y+=(ty-o.y)*k;o.a+=wrap((s>0?0:PI)-o.a)*M.min(1,dt*5);o.ph+=dt*3;o.pitch=-.25;if(M.hypot(tx-o.x,ty-o.y)<U*.03)tau.ice=M.min(1,tau.ice+dt*.15);if(tau.ice>=1)o.mode='play'}\n else if(o.mode=='play'){const th=tm*1.5,Rx=U*.14,Ry=U*.06,k=M.min(1,dt*2.5);o.x+=(oma.x+cos(th)*Rx-o.x)*k;o.y+=(oma.y+U*.03+sin(th)*Ry-o.y)*k;o.a+=wrap(M.atan2(cos(th)*Ry,-sin(th)*Rx)-o.a)*M.min(1,dt*6);o.ph+=dt*7;o.pitch=.5*sin(o.a)}\n else{o.a+=wrap((i%2||o.baby?PI:0)-o.a)*M.min(1,dt*3);o.x+=(o.gx+sin(tm*.25+i)*U*.03-o.x)*dt*.8;o.y+=(o.gy-o.y)*dt*.8;o.ph+=dt*2;o.pitch=.45+.12*sin(tm*3+i);\n  const hx=o.x+(cos(o.a)<0?-1:1)*o.L*.6;grass.forEach(b=>{if(M.abs(b.x-hx)<o.L*.35)b.e=M.min(.85,b.e+dt*.25)})}});\nif(oma.mode=='wait'){if(tm>=26?turtles[2].mode=='graze':0)oma.mode='in'}\nelse{\n if(oma.drag)dragStep(oma,dt);\n else if(oma.mode=='in'){steer(oma,W*.6,H*.62,U*.2,2,dt);oma.pitch=.4*sin(oma.a);if(M.hypot(W*.6-oma.x,H*.62-oma.y)<U*.05){oma.mode='play';turtles[2].mode='play'}}\n else{const tx=W*.6+sin(tm*.7)*U*.04,ty=H*.62+sin(tm*1.1)*U*.025;oma.x+=(tx-oma.x)*dt*1.5;oma.y+=(ty-oma.y)*dt*1.5;oma.a+=wrap((turtles[2].x>oma.x?0:PI)-oma.a)*M.min(1,dt*2);oma.ph+=dt*2.2;oma.pitch=.1*sin(tm*.8)}\n if(M.random()<dt*2.5)parts.push({x:oma.x+(cos(oma.a)<0?-1:1)*U*.05,y:oma.y,vx:rr(-.02,.02)*U,vy:-U*.05,r:rr(2,5)*dpr,l:1.6})}\nif(tau.mode=='wait'){if(tm>=34?oma.mode=='play'?turtles[2].mode=='play':0:0)tau.mode='in'}\nelse{\n if(tau.drag)dragStep(tau,dt);\n else if(tau.mode=='in'){steer(tau,W*.44,H*.6,U*.2,2,dt);tau.pitch=.4*sin(tau.a);if(M.hypot(W*.44-tau.x,H*.6-tau.y)<U*.05){tau.mode='give';turtles[2].mode='eis'}}\n else{const tx=W*.44+sin(tm*.8)*U*.02,ty=H*.6+sin(tm*1.2)*U*.02;tau.x+=(tx-tau.x)*dt*1.5;tau.y+=(ty-tau.y)*dt*1.5;tau.a+=wrap((turtles[2].x>tau.x?0:PI)-tau.a)*M.min(1,dt*2);tau.ph+=dt*2.2;tau.pitch=.1*sin(tm*.8);if(tau.ice>=1)tau.mode='play'}\n if(M.random()<dt*2.5)parts.push({x:tau.x+(cos(tau.a)<0?-1:1)*U*.05,y:tau.y,vx:rr(-.02,.02)*U,vy:-U*.05,r:rr(2,5)*dpr,l:1.6})}\nparts.forEach(p=>{p.x+=p.vx*dt;p.y+=p.vy*dt;p.vx*=.97;p.vy=p.vy*.97-U*.03*dt;p.l-=dt});parts=parts.filter(p=>p.l>0);\nbub.forEach(b=>{b.y-=b.v*dt;b.x+=sin(tm+b.y*.01)*10*dt;if(b.y<-10){b.y=H+10;b.x=rnd()*W}});\nspT-=dt;if(spT<=0?pop.length<16:0){spT=rr(.35,.8);const q=rnd(),r=U*(q<.4?rr(.014,.022):q<.75?rr(.024,.034):rr(.038,.05));pop.push({x:rr(.04,.96)*W,y:H*.95,r,v:U*rr(.06,.11)*(1.25-r\/U*8),ph:rr(0,6),c:BC[rnd()*BC.length|0],p:q<.4?3:q<.75?2:1})}\npop.forEach(b=>{b.y-=b.v*dt;b.ph+=dt*2;b.x+=cos(b.ph)*U*.02*dt});pop=pop.filter(b=>b.y>-b.r);\nif(dg){const o=dg.o,R=hr(o)*.8;for(let i=pop.length-1;i>=0;i--){const b=pop[i];if(M.hypot(b.x-o.x,b.y-o.y)<R+b.r){pop.splice(i,1);score+=b.p;setScore();for(let k=0;k<12;k++){const an=rr(0,2*PI),sp=rr(.05,.2)*U;parts.push({x:b.x,y:b.y,vx:cos(an)*sp,vy:sin(an)*sp,r:rr(2,5)*dpr,l:rr(.5,.9),c:b.c})}txt.push({x:b.x,y:b.y,s:'+'+b.p,c:b.c,l:1})}}}\ntxt.forEach(t=>{t.y-=U*.08*dt;t.l-=dt});txt=txt.filter(t=>t.l>0);\nspS-=dt;if(spS<=0?rs.length<2:0){spS=rr(5,10);const L=U*rr(.06,.14),dir=rnd()<.5?1:-1;rs.push({x:rr(.1,.9)*W,y:H+L*.4,a:dir>0?-1.1:-PI+1.1,L,ph:rr(0,6),tilt:0,fl:1,v:U*rr(.07,.12)*(1.4-L\/U*4),p:L<U*.085?5:L<U*.115?3:2})}\nrs.forEach(s=>{s.ph+=dt*8;s.x+=cos(s.a)*s.v*dt;s.y+=sin(s.a)*s.v*dt});rs=rs.filter(s=>(s.y>-s.L?(s.x>-s.L?s.x<W+s.L:0):0));\nif(dg){const o=dg.o,R=hr(o)*.8;for(let i=rs.length-1;i>=0;i--){const s=rs[i],m=mid(s);if(M.hypot(m.x-o.x,m.y-o.y)<R+s.L*.3){rs.splice(i,1);score+=s.p;setScore();for(let k=0;k<16;k++){const an=rr(0,2*PI),sp=rr(.05,.22)*U;parts.push({x:m.x,y:m.y,vx:cos(an)*sp,vy:sin(an)*sp,r:rr(2,6)*dpr,l:rr(.6,1.1),c:'#cfe3ee'})}txt.push({x:m.x,y:m.y,s:'+'+s.p,c:'#ffd23f',l:1.2})}}}}\nfunction bodyPts(L,ph,prof,amp){const a=[];for(let i=0;i<=18;i++){const u=i\/18;a.push({x:-u*L,y:sin(ph-u*3.4)*L*amp*u*u*1.2,w:prof(u)*L})}return a}\nfunction outline(p,bot){g.beginPath();g.moveTo(p[0].x,p[0].y-p[0].w);for(const q of p)g.lineTo(q.x,q.y-q.w);for(let i=p.length-1;i>=0;i--)g.lineTo(p[i].x,p[i].y+p[i].w*bot);g.closePath()}\nfunction tail(p,fn){const e=p[18],q=p[17];g.save();g.translate(e.x,e.y);g.rotate(M.atan2(e.y-q.y,e.x-q.x)-PI);g.scale(-1,1);fn();g.restore()}\nfunction dolphin(o){const L=U*.17;g.save();g.translate(o.x,o.y);g.rotate(o.a);if(cos(o.a)<0)g.scale(1,-1);\nconst p=bodyPts(L,o.ph,u=>{if(u<.13)return .022+.03*u\/.13;const t=(u-.13)\/.87;return .12*sin(PI*(.18+.62*t))*(1-.7*t*t)},.075);\ntail(p,()=>{g.fillStyle='#4a6a86';g.beginPath();g.moveTo(0,0);g.quadraticCurveTo(L*.03,-L*.1,L*.12,-L*.14);g.quadraticCurveTo(L*.07,0,L*.12,L*.14);g.quadraticCurveTo(L*.03,L*.1,0,0);g.fill()});\ng.fillStyle=o.G||(o.G=lg(-L*.13,L*.12,[[0,'#46688a'],[.5,'#7ea3c0'],[.62,'#d6e8f2'],[1,'#f4fafc']]));outline(p,.85);g.fill();\nlet q=p[7],bx=q.x,by=q.y-q.w;g.fillStyle='#3f5f7e';g.beginPath();g.moveTo(bx+L*.04,by+3);g.quadraticCurveTo(bx+L*.01,by-L*.07,bx-L*.06,by-L*.11);g.quadraticCurveTo(bx-L*.03,by-L*.04,bx-L*.06,by+3);g.fill();\nq=p[5];g.save();g.translate(q.x,q.y+q.w*.7);g.rotate(-(.9+sin(o.ph)*.2));g.beginPath();g.ellipse(-L*.05,0,L*.07,L*.022,0,0,2*PI);g.fill();g.restore();\ng.strokeStyle='rgba(20,40,60,.5)';g.lineWidth=L*.005;g.beginPath();g.moveTo(p[0].x,p[0].y+p[0].w*.15);g.lineTo(p[3].x,p[3].y+p[3].w*.2);g.stroke();\ng.fillStyle='#0b1a26';g.beginPath();g.arc(p[2].x,p[2].y-p[2].w*.15,L*.011,0,2*PI);g.fill();g.restore()}\nfunction shark(o,al){const L=o.L;g.save();g.globalAlpha=al;g.translate(o.x,o.y);g.rotate(o.a+o.tilt);if(cos(o.a)<0)g.scale(1,-1);g.scale(1,o.fl);\nconst p=bodyPts(L,o.ph,u=>.075*M.pow(sin(PI*(.15+.7*u)),.9)*(1-.75*u*u),.06);\ntail(p,()=>{g.fillStyle='#4a5662';g.beginPath();g.moveTo(0,0);g.quadraticCurveTo(L*.05,-L*.12,L*.17,-L*.22);g.quadraticCurveTo(L*.1,-L*.07,L*.11,-L*.01);g.quadraticCurveTo(L*.13,L*.05,L*.1,L*.1);g.quadraticCurveTo(L*.04,L*.05,0,0);g.fill()});\ng.fillStyle=o.G||(o.G=lg(-L*.08,L*.08,[[0,'#56636f'],[.5,'#8a98a4'],[.62,'#e6edf1'],[1,'#f3f7f9']]));outline(p,.9);g.fill();\nlet q=p[6],bx=q.x,by=q.y-q.w;g.fillStyle='#4a5662';g.beginPath();g.moveTo(bx+L*.03,by+3);g.quadraticCurveTo(bx,by-L*.09,bx-L*.07,by-L*.15);g.quadraticCurveTo(bx-L*.05,by-L*.05,bx-L*.07,by+3);g.fill();\ng.save();g.translate(q.x,q.y+q.w*.8);g.rotate(-.7);g.beginPath();g.ellipse(-L*.06,0,L*.1,L*.02,0,0,2*PI);g.fill();g.restore();\ng.strokeStyle='rgba(0,0,0,.25)';g.lineWidth=L*.004;for(let k=3;k<6;k++){g.beginPath();g.moveTo(p[k].x,p[k].y-p[k].w*.45);g.lineTo(p[k].x-L*.01,p[k].y+p[k].w*.2);g.stroke()}\ng.fillStyle='#56636f';g.beginPath();g.ellipse(-L*.015,p[0].y,L*.03,L*.1,0,0,2*PI);g.fill();\ng.fillStyle='#fff';[-1,1].forEach(s=>{g.beginPath();g.arc(L*.0,p[0].y+s*L*.095,L*.009,0,2*PI);g.fill()});g.restore()}\nfunction turtle(o){if(o.mode=='wait')return;const L=o.L,fx=cos(o.a)<0?-1:1,sw=sin(o.ph)*.6,b=o.baby,hs=b?1.35:1,c1=b?'#f09ab6':'#8a9a52',c2=b?'#f7b6c8':'#a9b36a',c3=b?'#ffe3ea':'#e8d9a0';g.save();g.translate(o.x,o.y);g.scale(fx,1);g.rotate(o.pitch);\ng.fillStyle=c1;g.save();g.translate(-L*.32,L*.2);g.rotate(-(.7-sw*.4));g.beginPath();g.ellipse(-L*.1,0,L*.14,L*.05,0,0,2*PI);g.fill();g.restore();\nconst hx=L*.6+(o.mode=='graze'?sin(tm*3+o.i)*L*.03:0);g.fillStyle=c2;g.beginPath();g.ellipse(hx,L*.08,L*.17*hs,L*.11*hs,.15,0,2*PI);g.fill();g.fillStyle='#0b1a26';g.beginPath();g.arc(hx+L*.07*hs,L*.04,L*.018*hs,0,2*PI);g.fill();\ng.fillStyle=c3;g.beginPath();g.ellipse(0,L*.2,L*.44,L*.1,0,0,2*PI);g.fill();\ng.fillStyle=o.G||(o.G=lg(-L*.28,L*.15,[[0,b?'#ff9fbd':'#7da042'],[1,b?'#d9608c':'#3f5f2a']]));g.beginPath();g.ellipse(0,L*.15,L*.5,L*.42,0,PI,2*PI);g.closePath();g.fill();\ng.strokeStyle='rgba(20,50,20,.45)';g.lineWidth=L*.015;for(let k=-1;k<=1;k++){g.beginPath();g.moveTo(k*L*.17,L*.15);g.quadraticCurveTo(k*L*.15,-L*.1,k*L*.1,-L*.26);g.stroke()}g.beginPath();g.moveTo(-L*.43,L*.02);g.quadraticCurveTo(0,-L*.12,L*.43,L*.02);g.stroke();\ng.fillStyle=c1;g.save();g.translate(L*.28,L*.2);g.rotate(1+sw);g.beginPath();g.ellipse(L*.14,0,L*.22,L*.06,0,0,2*PI);g.fill();g.restore();g.restore()}\nfunction drawOma(o){if(o.mode=='wait')return;const L=U*.11,fx=cos(o.a)<0?-1:1,su=o.su;g.save();g.translate(o.x,o.y);g.scale(fx,1);g.rotate(o.pitch);g.lineCap='round';\ng.lineWidth=L*.075;for(let j=0;j<2;j++){const p=o.ph*2+j*PI,ky=sin(p)*L*.07,fy=sin(p-.9)*L*.14;g.strokeStyle=su;g.beginPath();g.moveTo(-L*.25,j?L*.012:-L*.012);g.quadraticCurveTo(-L*.45,ky,-L*.64,fy);g.stroke();g.fillStyle=o.fin;g.beginPath();g.ellipse(-L*.73,fy,L*.1,L*.035,0,0,2*PI);g.fill()}\ng.fillStyle='#f2c230';g.beginPath();g.ellipse(-L*.05,-L*.12,L*.2,L*.05,0,0,2*PI);g.fill();\ng.fillStyle=su;g.beginPath();g.ellipse(0,0,L*.32,L*.095,0,0,2*PI);g.fill();g.strokeStyle=o.st;g.lineWidth=L*.02;g.beginPath();g.moveTo(-L*.28,-L*.03);g.lineTo(L*.28,-L*.03);g.stroke();\nconst ar=o.ice<1?-.15:o.mode=='play'?-.6+sin(tm*4)*.6:.3,ex=L*.2+cos(ar)*L*.3,ey=L*.02+sin(ar)*L*.3;g.strokeStyle=su;g.lineWidth=L*.06;g.beginPath();g.moveTo(L*.2,L*.02);g.lineTo(ex,ey);g.stroke();g.fillStyle='#f1c9a5';g.beginPath();g.arc(ex,ey,L*.04,0,2*PI);g.fill();\nif(o.ice<1){const f=1-.9*o.ice;g.save();g.translate(ex,ey);g.scale(1.7,1.7);if(o.ice<.85){g.fillStyle='#d9a05b';g.beginPath();g.moveTo(0,0);g.lineTo(-L*.035,-L*.1);g.lineTo(L*.035,-L*.1);g.closePath();g.fill()}g.fillStyle='#86b04f';g.beginPath();g.arc(0,-L*.125,L*.05*f,0,2*PI);g.fill();g.fillStyle='#a8cf74';g.beginPath();g.arc(0,-L*.19,L*.042*f,0,2*PI);g.fill();g.restore()}\ng.strokeStyle='#333';g.lineWidth=L*.012;g.beginPath();g.moveTo(L*.46,L*.0);g.quadraticCurveTo(L*.2,L*.12,-L*.05,-L*.12);g.stroke();\ng.fillStyle='#f1c9a5';g.beginPath();g.arc(L*.4,-L*.03,L*.085,0,2*PI);g.fill();\ng.fillStyle=o.hair;g.beginPath();g.arc(L*.4,-L*.03,L*.09,PI*.75,PI*1.85);g.closePath();g.fill();\nif(o.braid){for(let k=0;k<5;k++){g.beginPath();g.arc(L*.33-k*L*.055,-L*.04+k*L*.012+sin(o.ph*2+k)*L*.01*k,L*.026,0,2*PI);g.fill()}g.fillStyle='#ff6fa8';g.beginPath();g.arc(L*.33-5*L*.055,-L*.04+5*L*.012,L*.018,0,2*PI);g.fill()}else{g.beginPath();g.arc(L*.33,-L*.125,L*.04,0,2*PI);g.fill()}\ng.fillStyle=o.mk;g.strokeStyle=o.mf;g.lineWidth=L*(o.braid?.02:.012);g.beginPath();g.ellipse(L*.45,-L*.04,L*.045,L*.032,0,0,2*PI);g.fill();g.stroke();g.beginPath();g.moveTo(L*.41,-L*.04);g.lineTo(L*.32,-L*.06);g.stroke();\ng.restore()}\nfunction draw(){\ng.setTransform(1,0,0,1,0,0);g.clearRect(0,0,W,H);g.save();\nif(hitT>=0?tm-hitT<.5:0){const k=1-(tm-hitT)\/.5;g.translate((M.random()-.5)*U*.02*k,(M.random()-.5)*U*.02*k)}\ng.drawImage(bgC,0,0);\ng.save();g.globalCompositeOperation='lighter';g.fillStyle=rayG;for(let k=0;k<7;k++){const x0=W*(k\/7)+sin(tm*.25+k*1.3)*W*.03,w=U*.04*(1+k%3*.5);g.beginPath();g.moveTo(x0,0);g.lineTo(x0+w,0);g.lineTo(x0+w*2.4-W*.12,H*.85);g.lineTo(x0-W*.12,H*.85);g.fill()}g.restore();\nfor(let s=0;s<3;s++){const dir=s%2?-1:1,sp=U*(.05+.02*s),r=U*.008;g.fillStyle=['#ffd23f','#ff8a3c','#7cf0ff'][s];g.beginPath();for(let j=0;j<10;j++){const x=(((tm*sp*dir+s*W*.37+j*U*.03*dir)%(W*1.2))+W*1.2)%(W*1.2)-W*.1,y=H*(.62+.07*s)+sin(tm*.8+j+s)*U*.025+(j%3)*U*.015;g.moveTo(x+r*1.5,y);g.ellipse(x,y,r*1.5,r*.8,0,0,2*PI);g.moveTo(x-dir*r,y);g.lineTo(x-dir*r*2.3,y-r*.8);g.lineTo(x-dir*r*2.3,y+r*.8)}g.fill()}\nfor(let i=4;i>=0;i--)if(sh[i].on)shark(sh[i],i?.8:1);\nrs.forEach(s=>shark(s,1));\nturtles.forEach(o=>turtle(o));drawOma(oma);drawOma(tau);dolphin(d);\ng.drawImage(fgC,0,0);\ng.lineWidth=U*.008;g.lineCap='round';weeds.forEach(w=>{const sw=sin(tm*1.2+w.x*.01)*U*.025,y0=H*.99;g.strokeStyle=w.c;g.beginPath();g.moveTo(w.x,y0);g.bezierCurveTo(w.x+sw,y0-w.h*.33,w.x-sw,y0-w.h*.66,w.x+sw*1.4,y0-w.h);g.stroke()});\ng.lineWidth=U*.006;grass.forEach(b=>{const h=b.h*(1-b.e),sw=sin(tm*1.5+b.x*.02)*U*.01;g.strokeStyle=b.c;g.beginPath();g.moveTo(b.x,b.y);g.quadraticCurveTo(b.x+sw*.5,b.y-h*.5,b.x+sw,b.y-h);g.stroke()});\ng.lineWidth=1.2*dpr;g.strokeStyle='rgba(255,255,255,.4)';g.fillStyle='rgba(255,255,255,.08)';g.beginPath();bub.forEach(b=>{g.moveTo(b.x+b.r,b.y);g.arc(b.x,b.y,b.r,0,2*PI)});g.fill();g.stroke();\nparts.forEach(p=>{g.globalAlpha=M.min(1,p.l);g.strokeStyle=p.c||'rgba(255,255,255,.4)';g.beginPath();g.arc(p.x,p.y,p.r,0,2*PI);g.stroke()});g.globalAlpha=1;\ng.lineWidth=2*dpr;pop.forEach(b=>{g.globalAlpha=.28;g.fillStyle=b.c;g.beginPath();g.arc(b.x,b.y,b.r,0,2*PI);g.fill();g.globalAlpha=.95;g.strokeStyle=b.c;g.stroke();g.globalAlpha=.8;g.fillStyle='#fff';g.beginPath();g.arc(b.x-b.r*.35,b.y-b.r*.35,b.r*.22,0,2*PI);g.fill()});g.globalAlpha=1;\nif(txt.length){g.textAlign='center';g.font='700 '+M.max(14*dpr,U*.028)+'px system-ui,sans-serif';txt.forEach(t=>{g.globalAlpha=M.min(1,t.l*1.5);g.fillStyle=t.c;g.fillText(t.s,t.x,t.y)});g.globalAlpha=1}\nif(flash?tm-flash.t<.55:0){const k=(tm-flash.t)\/.55,r=U*(.03+.12*k);g.save();g.globalAlpha=1-k;g.strokeStyle='#fff';g.lineWidth=U*.012*(1-k);g.beginPath();g.arc(flash.x,flash.y,r,0,2*PI);g.stroke();const rg=g.createRadialGradient(flash.x,flash.y,0,flash.x,flash.y,r);rg.addColorStop(0,'rgba(255,255,255,.8)');rg.addColorStop(1,'rgba(255,255,255,0)');g.fillStyle=rg;g.fill();g.restore()}\ng.restore();\nconst fa=tm<.9?1-tm\/.9:tm>T-.9?(tm-(T-.9))\/.9:0;if(fa>0){g.fillStyle='rgba(3,40,60,'+fa+')';g.fillRect(0,0,W,H)}}\nfunction frame(ts){requestAnimationFrame(frame);if(!vis)return;const dt=M.min((ts-last)\/1000||0,.05);last=ts;step(dt);draw()}\nbuild();\nif(matchMedia('(prefers-reduced-motion:reduce)').matches){for(let i=0;i<420;i++)step(1\/60);draw()}\nelse requestAnimationFrame(frame);\nlet rt;new ResizeObserver(()=>{clearTimeout(rt);rt=setTimeout(()=>{if(box.clientWidth?(M.abs(box.clientWidth*dpr-W)>2||M.abs(box.clientHeight*dpr-H)>2):0){const k=tm;build();while(tm<k)step(1\/30);draw()}},150)}).observe(box);\nnew IntersectionObserver(e=>{vis=e[0].isIntersecting}).observe(box);\n};if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',start);else start()})();\n<\/script><\/p>\n<div id=\"dh\" style=\"position:relative;width:100%;height:100vh;min-height:360px;overflow:hidden;background:#06506f\">\n<canvas style=\"position:absolute;inset:0;width:100%;height:100%;display:block;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none\"><\/canvas><\/p>\n<div class=\"dh-score\" aria-live=\"polite\"><b>0<\/b><small>points<\/small><\/div>\n<div class=\"dh-text\" style=\"position:relative;z-index:2;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font:600 clamp(28px,5vw,64px) system-ui,sans-serif;text-shadow:0 2px 18px rgba(0,40,60,.55);text-align:center;padding:0 5%;pointer-events:none\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>0points<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-59","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/pages\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iuorno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":2,"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/pages\/59\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/www.iuorno.com\/index.php?rest_route=\/wp\/v2\/pages\/59\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/www.iuorno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}