Deck.transition('wash',{dur:1.15,frag:`void main(){ float f=-.25+p*1.5; f+=.045*sin(vUv.y*13.+p*8.); float d=f-vUv.x; float k=smoothstep(-.06,.06,d); vec3 a=texture(tA,vUv).rgb, b=texture(tB,vUv).rgb; vec3 c=mix(a,b,k); float foam=exp(-abs(d)*26.)*smoothstep(0.,.06,p)*smoothstep(1.,.94,p); c=mix(c,vec3(1.,.985,.95),foam*.85); o=vec4(c,1.); }`}); Deck.scene({ id:'loop', title:'The loop', enterWith:'wash', post:{tone:'none'}, beats:[{dur:5.2,hold:4},{dur:5.4,hold:4},{dur:5.6,hold:4},{dur:7.4,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 P={yellow:'#f2c230',red:'#e0482c',cobalt:'#1f3f9e',mint:'#a2dcc3',pink:'#f0a4bd',cream:'#f6eedb',black:'#191410'}; const rgb={}; for(const k in P) rgb[k]=[parseInt(P[k].slice(1,3),16)/255,parseInt(P[k].slice(3,5),16)/255,parseInt(P[k].slice(5,7),16)/255]; const rnd=(i)=>{ const v=Math.sin(i*12.9898+78.233)*43758.5453; return v-Math.floor(v); }; return {P,rgb,rnd,bg:d.pass(`uniform vec3 uBg; void main(){ vec2 q=design(vUv); float g=fbm(q*vec2(.6,1.4)); vec3 c=uBg*(.90+.17*g); c+=vec3((hash12(floor(q*.75))-.5)*.045); o=vec4(c,1.); }`,'loop paper')}; }, draw(s,d,r){ const c=d.ctx2d, E=d.E, P=r.P, rnd=r.rnd, b=s.beat; r.bg.draw({uBg:r.rgb[b===0?'yellow':b===1?'pink':b===2?'mint':'cream']}); const gearPath=(rad,teeth)=>{ c.beginPath(); for(let i=0;i0.002){ const bottom=ty+8+(tw-16); const top=bottom-(tw-16)*f; c.save(); c.beginPath(); c.rect(x+8,top,tw-16,bottom-top); c.clip(); d.rect(x+8,top,tw-16,bottom-top,P.red); c.fillStyle='rgba(70,15,8,0.30)'; for(let k=0;k<28;k++){ const rx=x+8+rnd(i*97+k*3)*(tw-20); const ry=top+rnd(i*53+k*7)*(bottom-top); c.beginPath(); c.arc(rx,ry,1.5+rnd(k+i*11)*4,0,6.2832); c.fill(); } c.restore(); } } else { const ins=32; d.rect(x+ins,ty+ins,tw-2*ins,tw-2*ins,P.pink); c.strokeStyle=P.black; c.lineWidth=4; c.strokeRect(x+ins+2,ty+ins+2,tw-2*ins-4,tw-2*ins-4); d.select(x-14,ty-14,tw+28,tw+28,{a:s.k(0,2.6,3.4,E.lin)}); } } } /* ============ BEAT 2 ============ */ if(b===1){ const h=d.text('And leads 26% of the research.',{x:140,y:110,size:82,font:'arialBold',color:P.cobalt,show:s.k(1,.2,1.2,E.lin)}); d.text("Share of Anthropic's AI research led by Claude, its own measure.",{x:140,y:h.y+h.h+24,size:29,font:'arial',color:P.black,show:s.k(1,.7,1.7,E.lin),style:'fade'}); const px=820, py=790, R=310; const open=s.k(1,.7,3.2,E.io3); c.save(); c.translate(px,py); c.strokeStyle=P.cobalt; c.lineWidth=4; c.setLineDash([14,12]); c.beginPath(); c.arc(0,0,R+44,Math.PI*1.04,Math.PI*2); c.stroke(); c.setLineDash([]); const N=26, A0=Math.PI*1.04, A1=Math.PI*2, da=(A1-A0)/N; c.fillStyle=P.cobalt; for(let i=0;i10000) continue; const col=cols[i%6]; const rot=i*0.24+s.t*0.10; for(let g=0;g<3;g++){ const alpha=g===0?1:(g===1?0.42:0.20); const s2=sz*(1-g*0.05); const dx=g*10, dy=g*7; c.save(); c.translate(cxT+dx,cyT+dy); c.rotate(rot); c.globalAlpha=alpha; c.fillStyle=col; c.strokeStyle=col; c.lineWidth=Math.max(2,Math.min(26,s2*0.02)); c.strokeRect(-s2/2,-s2/2,s2,s2); for(let w=0;w<3;w++){ c.beginPath(); c.moveTo(0,0); c.arc(0,0,s2*0.42,w*2.094+rot*0.4,w*2.094+0.80+rot*0.4); c.closePath(); c.fill(); } c.fillStyle=P.cream; c.beginPath(); c.arc(0,0,Math.max(2,s2*0.05),0,6.2832); c.fill(); c.restore(); } if(i<7 && sz>90 && sz<1600){ const tx=cxT-sz/2+sz*0.03; const ty=cyT-sz/2+sz*0.03; if(tx>60 && tx<1700 && ty>70 && ty<730){ const tsz=Math.max(26,Math.min(52,sz*0.055)); d.text('v'+(5+i),{x:tx,y:ty,size:tsz,font:'mono',color:P.black,show:1}); } } if((i===2||i===4) && sz>180){ c.save(); c.translate(cxT,cyT); c.rotate(rot); d.select(-sz/2,-sz/2,sz,sz,{a:i===2?0.9:0.55}); c.restore(); } } /* cream band for the headline */ d.rect(-3000,776,8000,2000,P.cream); d.text('The next version builds\nthe next version.',{x:140,y:800,size:74,font:'arialBold',color:P.black,show:s.k(3,.5,1.7,E.lin)}); /* printer colour bar */ const cbA=s.k(3,1.6,2.8,E.lin); const sw=[P.yellow,P.mint,P.pink,P.red,P.cobalt,P.black]; for(let i=0;i<32;i++) d.rect(140+i*30,1010,26,26,sw[i%6],cbA); /* registration marks */ const rm=(x,y)=>{ c.strokeStyle=P.black; c.lineWidth=3; c.beginPath(); c.arc(x,y,15,0,6.2832); c.stroke(); c.beginPath(); c.moveTo(x-27,y); c.lineTo(x-18,y); c.moveTo(x+18,y); c.lineTo(x+27,y); c.moveTo(x,y-27); c.lineTo(x,y-18); c.moveTo(x,y+18); c.lineTo(x,y+27); c.stroke(); }; rm(1700,1023); rm(1790,1023); } } });