Deck.transition('wash',{dur:1.2,frag:`void main(){ float front=p*1.35-.15+.05*sin(vUv.y*12.+p*10.)+.04*(fbm(vec2(vUv.y*6.,p*3.))-.5); float m=1.-smoothstep(front-.02,front,vUv.x); float foam=smoothstep(.06,0.,abs(vUv.x-front))*(.6+.4*vnoise(vec2(vUv.y*40.,p*20.))); vec4 c=mix(texture(tA,vUv),texture(tB,vUv),m); o=mix(c,vec4(.953,.918,.839,1.),foam*.85); }`}); Deck.scene({ id:'loop', title:'The loop', enterWith:'wash', post:{tone:'none'}, beats:[{dur:3.4,hold:4},{dur:5,hold:5},{dur:3.4,hold:5},{dur:9,hold:6}], notes:[ 'Start with the plain fact. In May 2026, Anthropic said Claude wrote over 80 percent of the code it merged.', 'Code is only the first part. By Anthropic\'s own measure, Claude led under 1 percent of its AI research in February 2026 and 26 percent in August. The fan has 26 blades. The sliver is one.', 'METR looked at Anthropic in November 2026 and put progress at about twice the old rate, mostly thanks to AI. The small wheel turns exactly twice for each turn of the big one.', 'And then it closes. Each version helps build the next one, and each step takes less time than the last. Let it run.'], setup(d){ const P={yel:'#f2c230',red:'#e2432a',cob:'#1f49b6',mint:'#9fd8c0',pink:'#f2a7b8',cream:'#f3ead6',blk:'#161412'}; const BG=[P.yel,P.pink,P.mint,P.cob]; const RGB=[[.949,.761,.188],[.949,.655,.722],[.624,.847,.753],[.122,.286,.714]]; const F=[{x:1470,y:600,w:300},{x:1400,y:740,w:400},{x:1380,y:571,w:400}]; const KP=[P.red,P.yel,P.mint,P.pink,P.cob,P.cream]; const U={uA:[0,0,0],uB:[0,0,0],uRect:[-1e5,-1e5,0,0],uXf:[1,0,0],uBandA:0,uBandB:0}; const L=d.E.lin, TAU=Math.PI*2, beat=[]; const HEAVY='800 SIZEpx system-ui,sans-serif'; const frame=(s,i,depth)=>{ const c=d.ctx2d,f=F[i],h=f.w*.5625,lw=f.w*.02; if(depth>0){ d.rect(f.x,f.y,f.w,h,BG[i+1]); if(i===2) d.rect(f.x,f.y+h*.648,f.w,h*.352,P.cream); } if(depth<2){ c.save(); c.beginPath(); c.rect(f.x,f.y,f.w,h); c.clip(); c.translate(f.x,f.y); c.scale(f.w/1920,f.w/1920); beat[i+1](s,depth+1); c.restore(); } c.strokeStyle=P.blk; c.lineWidth=lw; c.strokeRect(f.x-lw/2,f.y-lw/2,f.w+lw,h+lw); }; const gear=(x,y,r,n,ang,col,holes)=>{ const c=d.ctx2d,w=TAU/n,ri=r-14,ro=r+14; c.fillStyle=col; c.beginPath(); for(let i=0;i{ const c=d.ctx2d,R=.42,j0=Math.floor(D)-1; c.save(); c.beginPath(); c.rect(-2000,0,5920,700); c.clip(); c.translate(960,350); for(let j=j0;j{ const c=d.ctx2d; for(let i=0;i<4;i++){ const x=150+i*330,y=600,k=s.k(0,.6+i*.35,1.6+i*.35,d.E.out3),hh=169*k; d.rect(x,y,300,169,P.cream); d.rect(x,y+169-hh,300,hh,P.red); for(let j=6;j{ const c=d.ctx2d,a0=-2.793,a1=-.524,px=860,py=960,open=s.k(1,1.6,4.2); c.fillStyle=P.red; c.beginPath(); c.moveTo(170,960); c.lineTo(162,560); c.lineTo(178,560); c.closePath(); c.fill(); c.strokeStyle=P.blk; c.lineWidth=5; c.setLineDash([18,14]); c.beginPath(); c.arc(px,py,506,a0,a1); c.stroke(); c.setLineDash([]); c.fillStyle=P.cob; for(let i=0;i<26;i++){ const a=a0+(a1-a0)*i/25*open; c.beginPath(); c.moveTo(px,py); c.lineTo(px+480*Math.cos(a-.036),py+480*Math.sin(a-.036)); c.lineTo(px+480*Math.cos(a+.036),py+480*Math.sin(a+.036)); c.closePath(); c.fill(); } c.fillStyle=P.blk; c.beginPath(); c.arc(px,py,16,0,TAU); c.fill(); d.rect(120,960,1200,8,P.blk); const hd=s.k(2,0,.6,L); d.text('under 1%',{x:200,y:540,size:44,font:'arialBold',color:P.red,show:s.k(1,1.2,2,L),hide:hd,style:'fade'}); d.text('February 2026',{x:200,y:598,size:28,font:'mono',color:P.blk,show:s.k(1,1.4,2.2,L),hide:hd,style:'fade'}); d.text('26%',{x:850,y:545,size:230,font:HEAVY,color:P.cream,align:'center',show:s.k(1,3.4,4.4,L),hide:hd,style:'fade'}); d.text('August 2026',{x:850,y:815,size:34,font:'mono',color:P.cream,align:'center',show:s.k(1,3.6,4.6,L),hide:hd,style:'fade'}); frame(s,1,depth); const f=F[1]; d.select(f.x-24,f.y-24,f.w+48,f.w*.5625+48,{a:s.k(1,4.2,5,L)}); const h=d.text('And leads 26% of the research.',{x:150,y:110,size:84,color:P.cob,show:s.k(1,1.2,2.4,L),hide:hd}); d.text('Share of Anthropic\'s AI research led by Claude, its own measure.',{x:150,y:h.y+h.h+26,size:26,font:'mono',color:P.cob,show:s.k(1,1.8,2.8,L),hide:hd,style:'fade'}); }; beat[2]=(s,depth)=>{ const c=d.ctx2d,th=s.t*.4,phi=-2*th+Math.PI/12; d.rect(150,984,1670,8,P.blk); gear(430,770,190,24,th,P.blk,6); gear(715,770,95,12,phi,P.cob,0); const cx=715+55*Math.cos(phi),cy=770+55*Math.sin(phi),dy=cy-770,sx=cx+Math.sqrt(260*260-dy*dy); d.rect(880,790,210,8,P.blk); c.strokeStyle=P.blk; c.lineWidth=12; c.lineCap='round'; c.beginPath(); c.moveTo(cx,cy); c.lineTo(sx,770); c.stroke(); d.rect(sx-22,750,64,40,P.blk); c.fillStyle=P.cream; c.beginPath(); c.arc(cx,cy,9,0,TAU); c.fill(); c.beginPath(); c.arc(sx,770,7,0,TAU); c.fill(); d.rect(1090,800,730,36,P.blk); d.rect(1104,836,12,148,P.blk); d.rect(1794,836,12,148,P.blk); c.fillStyle=P.blk; c.beginPath(); c.arc(1090,818,26,0,TAU); c.fill(); c.beginPath(); c.arc(1820,818,26,0,TAU); c.fill(); c.fillStyle=P.cream; c.beginPath(); c.arc(1090,818,8,0,TAU); c.fill(); c.beginPath(); c.arc(1820,818,8,0,TAU); c.fill(); c.save(); c.beginPath(); c.rect(1090,690,255,112); c.clip(); for(let j=0;j<4;j++){ const x=1040+((j*150+th*120)%600),y=754,ha=th*2+j*1.3; c.fillStyle=P.cream; c.beginPath(); c.arc(x,y,44,0,TAU); c.fill(); c.strokeStyle=P.blk; c.lineWidth=6; c.stroke(); c.lineWidth=5; c.beginPath(); c.moveTo(x,y); c.lineTo(x+22*Math.cos(ha),y+22*Math.sin(ha)); c.moveTo(x,y); c.lineTo(x+34*Math.cos(ha*6),y+34*Math.sin(ha*6)); c.stroke(); } c.restore(); frame(s,2,depth); const f=F[2]; d.text('v4',{x:f.x,y:f.y-74,size:40,font:'mono',color:P.blk}); d.select(f.x-22,f.y-22,f.w+44,f.w*.5625+44,{a:s.k(2,2.6,3.4,L)}); const hd=s.k(3,0,.6,L); const h=d.text('So the next one comes\ntwice as fast.',{x:150,y:120,size:96,color:P.blk,show:s.k(2,1.2,2.4,L),hide:hd}); d.text('METR on Anthropic, November 2026: about 2x the old rate, mostly thanks to AI.',{x:150,y:h.y+h.h+26,size:26,font:'mono',color:P.blk,show:s.k(2,1.8,2.8,L),hide:hd,style:'fade'}); }; beat[3]=(s,depth)=>{ const c=d.ctx2d,k=s.k(3,1.2,9,L),k2=s.k(3,1,8.8,L); const D=6*(.2*k+.8*k*k*k), D2=6*(.2*k2+.8*k2*k2*k2); tunnel(s,D,false,depth); if(depth===0&&D2-D>.01){ c.globalAlpha=.3; tunnel(s,D2,true,depth); tunnel(s,(D+D2)*.5,true,depth); c.globalAlpha=1; } d.rect(-2000,696,5920,8,P.blk); const bar=[P.yel,P.red,P.cob,P.mint,P.pink,P.blk,P.cream]; for(let i=0;i<7;i++){ d.rect(150+i*52,1000,44,44,bar[i]); } c.strokeStyle=P.blk; c.lineWidth=3; c.strokeRect(150+6*52,1000,44,44); for(let i=0;i<2;i++){ const x=i?1824:96,y=1022; c.beginPath(); c.arc(x,y,15,0,TAU); c.moveTo(x-26,y); c.lineTo(x+26,y); c.moveTo(x,y-26); c.lineTo(x,y+26); c.stroke(); } for(let i=0;i<12;i++) d.rect(1300+i*36,1000,18,44,P.blk,(i+1)/12); d.text('The next version builds\nthe next version.',{x:150,y:740,size:88,color:P.blk,show:s.k(3,1.2,2.4,L)}); }; return { U, F, RGB, beat, bg:d.pass(`uniform vec3 uA,uB,uXf; uniform vec4 uRect; uniform float uBandA,uBandB; void main(){ vec2 q=design(vUv); vec3 cream=vec3(.953,.918,.839); vec2 la=(q-uXf.yz)/uXf.x; vec3 c=mix(uA,cream,uBandA*step(700.,la.y)); vec2 lb=(q-uRect.xy)/max(uRect.z,1.)*1920.; float inside=step(uRect.x,q.x)*step(q.x,uRect.x+uRect.z)*step(uRect.y,q.y)*step(q.y,uRect.y+uRect.w); c=mix(c,mix(uB,cream,uBandB*step(700.,lb.y)),inside); c*=.94+.12*fbm(q*vec2(.35,.9)); c+=(hash12(floor(q))-.5)*.04; o=vec4(c,1.); }`,'loop paper') }; }, draw(s,d,r){ const c=d.ctx2d,U=r.U; const Lz=s.k(1,0,1.4)+s.k(2,0,1.4)+s.k(3,0,1.4); const i=Math.min(3,Math.floor(Lz)), z=Lz-i; let S=1,vx=0,vy=0; if(i<3&&z>0){ const f=r.F[i],W=1920*Math.pow(f.w/1920,z),t=(1920-W)/(1920-f.w); S=1920/W; vx=f.x*t; vy=f.y*t; } const tx=-vx*S-s.mouse.x*6, ty=-vy*S-s.mouse.y*4; const A=r.RGB[i],B=r.RGB[Math.min(3,i+1)]; U.uA[0]=A[0];U.uA[1]=A[1];U.uA[2]=A[2]; U.uB[0]=B[0];U.uB[1]=B[1];U.uB[2]=B[2]; U.uXf[0]=S;U.uXf[1]=tx;U.uXf[2]=ty; if(i<3){ const f=r.F[i]; U.uRect[0]=f.x*S+tx; U.uRect[1]=f.y*S+ty; U.uRect[2]=f.w*S; U.uRect[3]=f.w*.5625*S; } else { U.uRect[0]=-1e5; U.uRect[1]=-1e5; U.uRect[2]=0; U.uRect[3]=0; } U.uBandA=i===3?1:0; U.uBandB=i===2?1:0; r.bg.draw(U); c.save(); c.translate(tx,ty); c.scale(S,S); r.beat[i](s,0); c.restore(); } });