Deck.transition('wash', { dur: 1.15, frag: `void main(){ if(p<=0.){ o=texture(tA,vUv); return; } if(p>=1.){ o=texture(tB,vUv); return; } float e=smoothstep(0.,1.,p); float wave=-.18+1.36*e+.057*sin(vUv.y*6.283-e*5.)+.024*sin(vUv.y*13.+1.2); float x=vUv.x-wave; vec4 oldInk=texture(tA,vec2(clamp(vUv.x+.019*exp(-abs(x)*19.)*sin(vUv.y*15.),0.,1.),vUv.y)); vec4 newInk=texture(tB,vUv); vec4 c=mix(newInk,oldInk,smoothstep(-.009,.009,x)); float edge=1.-smoothstep(.008,.027,abs(x+.013)); vec3 ink=mix(vec3(.96,.89,.73),vec3(.88,.28,.16),smoothstep(-.023,-.009,x)); o=mix(c,vec4(ink,1.),edge*.87); }` }); Deck.scene({ id:'loop', title:'The loop', enterWith:'wash', post:{tone:'none',bloom:0,vignette:0,grain:0}, beats:[{dur:3.8,hold:4},{dur:4.7,hold:4},{dur:5,hold:4},{dur:7,hold:5}], 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 ink={black:'#201b19',yellow:'#f2c83d',red:'#d73a28',blue:'#203da2',mint:'#9dd5b7',pink:'#f1a8c4',cream:'#f5e9ce'}; const frames=[[1480,554,296],[1464,775,312],[1488,770,288]]; const versions=['v4','v5','v6','v7','v8','v9','v10','v11']; const rule=(c,x,y,a,b)=>{ c.beginPath(); c.moveTo(x,y); c.lineTo(a,b); c.stroke(); }; const disc=(c,x,y,r,fill)=>{ c.fillStyle=fill; c.beginPath(); c.arc(x,y,r,0,Math.PI*2); c.fill(); }; const gear=(c,x,y,r,n,a,col,bg)=>{ c.save(); c.translate(x,y); c.rotate(a); c.fillStyle=col; c.beginPath(); for(let i=0;i1.)return K; float level=clamp(floor(run-log(radius)/.653926),0.,11.); vec2 uv=q*exp((level-run)*.653926); float side=max(abs(uv.x),abs(uv.y)); vec2 z=uv*vec2(1.17,1.); float rot=.34*level; z=rot2(rot)*z; float theta=atan(z.y,z.x+.000001); float petals=4.+2.*level; float scallop=cos(theta*petals); float ring=length(z)*(8.+level*1.4)+(.06+.027*level)*scallop; float band=floor(ring+.14); vec3 a=dye(band+level*2.); vec3 b=dye(band+level*2.+2.); float cut=smoothstep(-.10,.10,scallop); vec3 col=mix(a,b,cut*smoothstep(.25,1.8,level)*.85); float line=1.-smoothstep(.023,.053+aa,abs(fract(ring+.14)-.5)); col=mix(col,K,line*.68); col=mix(col,C,smoothstep(.89,.91,side)); col=mix(col,K,smoothstep(.958,.97,side)); return col; } void main(){ vec2 screen=design(vUv); vec2 q=(screen-uCam.xy)/uCam.z; float page=uPage; for(int j=0;j<3;j++){ if(page>2.5)break; vec3 f=frameAt(page); vec2 local=q-f.xy; if(local.x<0.||local.y<0.||local.x>f.z||local.y>f.z*.5625)break; q=local*(1920./f.z); page+=1.; } vec3 col=page<.5?Y:page<1.5?P:page<2.5?M:C; if(page<.5){ float tx=q.x-144., id=floor(tx/334.); vec2 tile=vec2(tx-id*334.,q.y-554.); if(id>=0.&&id<4.&&tile.x>=0.&&tile.x<296.&&tile.y>=0.&&tile.y<166.5){ float tooth=7.*vnoise(vec2(q.y*.095,id*2.4))+2.*hash12(floor(q)); float reach=clamp(uFill*4.85-id*.93,0.,1.05)*307.; float coat=1.-smoothstep(reach-2.,reach+1.,tile.x+tooth); float grit=vnoise(q*vec2(.09,.43)); float stipple=step(.86,hash12(floor(q*.69))); vec3 printInk=mix(R,vec3(.66,.124,.079),grit*.48); printInk=mix(printInk,Y,stipple*.22+smoothstep(.61,.91,grit)*.28); col=mix(C,printInk,coat); float rim=min(min(tile.x,296.-tile.x),min(tile.y,166.5-tile.y)); col=mix(K,col,smoothstep(0.,2.,rim)); } } if(page>2.5){ vec2 z=(q-vec2(1388.,520.))/vec2(388.,384.); float bound=max(abs(z.x),abs(z.y)); if(bound<1.008){ float aa=min(.04,max(fwidth(screen.x),fwidth(screen.y))*.009); vec3 pic=recursionInk(z,uRun,aa); if(uSmear>.002){ pic=pic*.62+recursionInk(z,uRun-uSmear,aa)*.25 +recursionInk(z,uRun-uSmear*2.1,aa)*.13; } col=mix(col,pic,1.-smoothstep(.998,1.004,bound)); } } float fibre=vnoise(floor(screen)*vec2(.27,1.14)); float fleck=hash12(floor(screen*1.32)); col=col*(.960+.067*fibre)+.039*(fleck-.5); col+=.012*(vnoise(q*.018)-.5); o=vec4(col,1.); } `,'The loop / cut paper and overprinted ink')}; }, draw(s,d,r){ const E=d.E,L=E.lin,c=d.ctx2d,I=r.ink; const fill=s.k(0,.30,3.1,L); const fan=s.k(1,1.15,4.25,E.out3); const drive=s.k(2,1.18,4.6,E.io3); const runIn=s.k(3,1.29,7,L); const run=7.22*(.22*runIn+.78*runIn*runIn*runIn); const liveRun=run+.023*runIn*Math.sin(s.t*.9); const page=s.beat; const zoom=page===0?1:s.k(page,0,1.28,E.io3); let root=page, cx=0,cy=0,scale=1; if(page>0&&zoom<1){ root=page-1; const f=r.frames[root], a=1920/f[2]; scale=Math.pow(a,zoom); const hit=(scale-1)/(a-1); cx=-f[0]*a*hit; cy=-f[1]*a*hit; } r.paper.draw({uCam:[cx,cy,scale],uPage:root,uFill:fill,uRun:liveRun,uSmear:.18*runIn*runIn}); const choose=page===0 ?s.k(0,3.1,3.8,E.out3) :page===1?s.k(1,4.25,4.7,E.out3) :page===2?s.k(2,4.45,5,E.out3):0; const border=(i)=>{ const f=r.frames[i], x=f[0],y=f[1],w=f[2],h=w*.5625; c.strokeStyle=I.black; c.lineWidth=3; c.strokeRect(x-2,y-2,w+4,h+4); if(i===page&&choose>0)d.select(x-12,y-12,w+24,h+24,{a:choose}); }; const art=(i)=>{ if(i!==3){ c.strokeStyle=i===1?I.blue:I.black; c.lineWidth=2; const y=i===0?403:i===1?346:408; r.rule(c,144,y,1776,y); for(let j=0;j<=16;j++)r.rule(c,144+102*j,y,144+102*j,y+(j%4===0?15:7)); } if(i===0){ c.strokeStyle=I.black; c.lineWidth=2; r.rule(c,144,792,1776,792); for(let j=0;j<5;j++){ const x=144+334*j; r.rule(c,x,778,x,803); r.rule(c,x+296,778,x+296,803); r.disc(c,x+148,792,4,I.black); } border(0); }else if(i===1){ const x=1046,y=822,lo=-2.99,hi=-.18,R=468; const blades=Math.max(.07,fan)*26; c.strokeStyle=I.blue; c.lineWidth=2.5; c.setLineDash([9,10]); c.beginPath(); c.arc(x,y,R+19,lo,hi); c.stroke(); c.setLineDash([]); c.fillStyle=I.blue; for(let j=0;j<26;j++){ const gain=Math.min(1,Math.max(0,blades-j)); if(gain===0)continue; const p=lo+(hi-lo)*j/26, a=(hi-lo)/26; c.beginPath(); c.moveTo(x+58*Math.cos(p),y+58*Math.sin(p)); c.lineTo(x+R*Math.cos(p+.09*a),y+R*Math.sin(p+.09*a)); c.arc(x,y,R,p+.09*a,p+(.10+.78*gain)*a); c.lineTo(x+58*Math.cos(p+.74*a),y+58*Math.sin(p+.74*a)); c.closePath(); c.fill(); } c.strokeStyle=I.blue; c.lineWidth=3; r.rule(c,157,822,1425,822); c.fillStyle=I.red; c.beginPath(); c.moveTo(234,820); c.lineTo(237,632); c.lineTo(250,626); c.lineTo(249,820); c.fill(); d.text('under 1%',{x:157,y:848,size:39,font:'arialBold',color:I.blue}); d.text('February 2026',{x:158,y:899,size:26,font:'mono',color:I.blue}); if(fan>.18){ const a=Math.min(1,(fan-.18)*4.5); c.save(); c.globalAlpha=a; c.fillStyle=I.blue; c.beginPath(); c.moveTo(833,822); c.lineTo(855,637); c.lineTo(1237,637); c.lineTo(1259,822); c.closePath(); c.fill(); c.restore(); d.text('26%',{x,y:620,size:153,font:'800 SIZEpx system-ui,sans-serif',align:'center',color:I.cream,alpha:a}); d.text('August 2026',{x,y:854,size:29,font:'mono',align:'center',color:I.blue,alpha:a}); } border(1); }else if(i===2){ const big=782,small=1103,y=685; const angle=.18+s.t*.15+drive*4.05+s.mouse.x*.018, other=-2*angle; c.strokeStyle=I.black; c.lineWidth=3; r.rule(c,479,685,1460,685); r.rule(c,505,943,1140,943); for(let j=0;j<16;j++)r.rule(c,505+42*j,943,505+42*j,953); r.gear(c,big,y,214,24,angle-.28*Math.PI/12,I.black,I.mint); r.gear(c,small,y,107,12,other-.775*Math.PI/6,I.blue,I.mint); const pinX=small+55*Math.cos(other),pinY=y+55*Math.sin(other); const sled=1379+54*Math.cos(other); c.lineCap='round'; c.strokeStyle=I.black; c.lineWidth=23; r.rule(c,pinX,pinY,sled,y); c.strokeStyle=I.cream; c.lineWidth=14; r.rule(c,pinX,pinY,sled,y); r.disc(c,pinX,pinY,8,I.red); r.disc(c,sled,y,17,I.black); r.disc(c,sled,y,7,I.cream); c.lineCap='butt'; c.strokeStyle=I.black; c.lineWidth=4; c.beginPath(); c.moveTo(1182,751); c.lineTo(1780,751); c.arc(1780,857,106,-Math.PI*.5,Math.PI*.5); c.lineTo(1182,963); c.arc(1182,857,106,Math.PI*.5,Math.PI*1.5); c.closePath(); c.stroke(); r.rule(c,1185,922,1779,922); c.save(); c.beginPath(); c.rect(1170,770,301,144); c.clip(); const advance=(drive*309+s.t*13)%102; for(let j=-1;j<4;j++){ const x=1195+j*102+advance, cy=854; r.disc(c,x,cy,42,I.black); r.disc(c,x,cy,37,I.cream); c.strokeStyle=I.black; c.lineWidth=2; for(let k=0;k<12;k++){ const a=k*Math.PI/6; r.rule(c,x+28*Math.cos(a),cy+28*Math.sin(a),x+33*Math.cos(a),cy+33*Math.sin(a)); } const a=-other+j*.42; c.lineWidth=3; r.rule(c,x,cy,x+22*Math.cos(a),cy+22*Math.sin(a)); r.rule(c,x,cy,x+13*Math.cos(a-1.5),cy+13*Math.sin(a-1.5)); r.disc(c,x,cy,4,I.red); } c.restore(); for(let j=0;j<16;j++){ const x=1178+j*40; r.disc(c,x,944,5,I.black); } border(2); }else{ c.strokeStyle=I.black; c.lineWidth=3; c.strokeRect(998,134,780,772); c.lineWidth=2; r.rule(c,144,946,1776,946); const stripY=977; for(let j=0;j<7;j++){ c.fillStyle=j===0?I.yellow:j===1?I.red:j===2?I.blue:j===3?I.mint:j===4?I.pink:j===5?I.cream:I.black; c.fillRect(658+j*87,stripY,87,26); } c.strokeRect(658,stripY,609,26); for(let j=0;j<2;j++){ const x=j===0?173:1747,y=990; c.beginPath(); c.arc(x,y,15,0,Math.PI*2); c.stroke(); r.rule(c,x-24,y,x+24,y); r.rule(c,x,y-24,x,y+24); r.disc(c,x,y,4,I.red); } c.save(); c.beginPath(); c.rect(1002,138,772,764); c.clip(); for(let j=0;j1.24)continue; const a=Math.min(1,(z-.235)*9,(1.24-z)*8); const x=1388-388*z,y=520-384*z; d.rect(x+14*z,y+19*z,103*z,42*z,I.cream,a); d.text(r.versions[j],{x:x+23*z,y:y+19*z,size:29*z,font:'mono',color:I.black,alpha:a}); if(page===3&&root===3&&j>0&&z>.4){ d.select(x+4,y+4,776*z-8,768*z-8,{a:a*.85}); } } c.restore(); } }; c.save(); c.translate(cx,cy); c.scale(scale,scale); for(let i=root;i<=3;i++){ if(i>root){ const f=r.frames[i-1]; c.translate(f[0],f[1]); c.scale(f[2]/1920,f[2]/1920); c.beginPath(); c.rect(0,0,1920,1080); c.clip(); } art(i); } c.restore(); const h1=s.k(0,.22,1.28,L), h2=s.k(1,.94,1.96,L); const h3=s.k(2,.94,2.04,L), h4=s.k(3,1.03,2.20,L); const out1=s.k(1,0,.48,L),out2=s.k(2,0,.48,L),out3=s.k(3,0,.48,L); d.text('AI now writes the code.',{x:144,y:127,size:110,font:'display',color:I.black,show:h1,hide:out1}); d.text('Claude wrote over 80% of the code Anthropic merged. May 2026.',{x:149,y:282,size:30,font:'text',color:I.black,style:'fade',show:s.k(0,.86,1.51,L),hide:out1}); d.text('And leads 26% of the research.',{x:144,y:107,size:98,font:'display',color:I.blue,show:h2,hide:out2}); d.text("Share of Anthropic's AI research led by Claude, its own measure.",{x:149,y:259,size:30,font:'text',color:I.blue,style:'fade',show:s.k(1,1.42,2.18,L),hide:out2}); d.text('So the next one comes\ntwice as fast.',{x:144,y:78,size:98,font:'display',color:I.black,by:'line',show:h3,hide:out3}); d.text('METR on Anthropic, November 2026: about 2x the old rate, mostly thanks to AI.',{x:149,y:333,size:29,font:'text',color:I.black,style:'fade',show:s.k(2,1.50,2.31,L),hide:out3}); d.text('The next version builds\nthe next version.',{x:144,y:387,size:76,font:'display',color:I.black,by:'line',show:h4}); } });