Deck.transition('flaps',{dur:1.4,frag:`void main(){ vec2 n=vec2(16.,9.), g=vUv*n, id=floor(g), f=fract(g)-.5; float dl=(id.x+(n.y-1.-id.y))/(n.x+n.y-2.); float e=sat(p*1.6-dl*.6); float sy=abs(cos(e*3.14159265)); vec2 uv=(id+.5+vec2(f.x,f.y/max(sy,.001)))/n; vec4 c=e<.5?texture(tA,uv):texture(tB,uv); float fl=sin(e*3.14159265); float m=step(abs(f.y),sy*.5)*step(abs(f.x),.5-.03*fl); c.rgb*=1.-.45*fl; o=vec4(mix(vec3(0.),c.rgb,m),1.); }`}); Deck.scene({ id:'swarm', title:'A country of them', enterWith:'flaps', post:{bloom:1.1,threshold:.85,vignette:.35,grain:.04}, beats:[{dur:4.5,hold:4},{dur:4.5,hold:4},{dur:6,hold:5},{dur:20,hold:4}], notes:['This is one of them, working alone.', 'Now thirty thousand at the same time. That is the number of agents at work inside Anthropic in August 2026.', 'In September 2026 OpenAI said about ten thousand agents, working together for 88 hours, settled the Navier-Stokes Millennium problem, with the proof checked in Lean. In November, Levent Alpöge of Anthropic, working with Claude, released seventeen million lines of proof of the Riemann hypothesis. The Lean and Mathlib groups certified it. No person has read and understood the whole thing.', 'This one is an illustration. A million of them at fifty times human speed is about a year and a half of thinking every second. Let the counter run while you talk.'], setup(d){ const U={uSc:1,uA:0,uAsm:0,uSh:0,uC:0,uLit:0,uLd:0,uWa:1,uWb:0,uWc:0,uWd:0,uM:[0,0]}; return { U, line:'ζ(s)=0 ⇒ Re(s)=½', cream:'#f2f4f7', bg:d.pass(`uniform float uSc,uA,uAsm,uSh,uC,uLit,uLd,uWa,uWb,uWc,uWd; uniform vec2 uM; const vec3 W=vec3(.9,.95,1.); vec3 env(vec2 q){ float hz=640.; vec3 c=vec3(.004,.005,.007)+vec3(.035,.038,.045)*exp(-max(hz-q.y,0.)*.005); float st=hash12(floor(q/3.)); c+=W*step(.997,st)*.15*step(q.y,hz-180.); float hy=hz-25.-110.*fbm(vec2(q.x*.002+.3,1.7))-35.*fbm(vec2(q.x*.009,5.)); vec3 hill=vec3(.006,.0065,.008)*(.7+.6*fbm(q*.006)); c=mix(c,hill,smoothstep(hy-1.5,hy+1.5,q.y)); float g=q.y-hz; if(g>0.){ vec3 rs=(vec3(.004,.005,.007)+vec3(.035,.038,.045)*exp(-g*.005))*.5; c=(hz-g>hy?hill*.6:rs)+vec3(.012,.013,.016)*exp(-g*.03); } return c; } vec3 modeA(vec2 q,vec2 qe){ vec3 c=env(qe); vec2 base=vec2(1240.,760.), hs=vec2(330.,186.)*uSc, ce=base-vec2(0.,hs.y); float d=sdBox(q-ce,hs); float g=q.y-base.y; if(g>0.){ float rp=(vnoise(vec2(q.x*.03,g*.12-uTime*.8))-.5)*g*.06; vec2 qr=vec2(q.x+rp,base.y-g); float dr=sdBox(qr-ce,hs); c+=W*(.16*smoothstep(1.5,-1.5,dr)+.04*exp(-max(dr,0.)/(25.*uSc+.5)))*exp(-g*.006); } vec2 e=(q-base)/(vec2(520.,70.)*max(uSc,.03)); c+=W*.05*exp(-dot(e,e))*step(640.,q.y); float face=.72+.1*sat((q.y-ce.y+hs.y)/(2.*hs.y+.01)); c=mix(c,W*face,smoothstep(1.,-1.,d)); c+=W*(1.4*smoothstep(2.5,0.,abs(d))+.22*exp(-max(d,0.)/(36.*uSc+.5))*step(0.,d)); return c; } vec3 modeB(vec2 p){ float hz=.24, H=mix(.06,1.,uA); vec3 ro=vec3(uM.x*.04+.05*sin(uTime*.07),H,uTime*.012); vec3 rd=vec3(p.x,min(p.y-hz,0.)-.003,1.3); float t=-ro.y/rd.y; vec2 P=ro.xz+rd.xz*t; vec2 g=rot2(.35)*P/vec2(.05,.035), id=floor(g), f=fract(g)-.5; float aa=max(fwidth(g.x),fwidth(g.y)), rnd=hash12(id); float lot=step(.5,mod(id.x,7.))*step(.5,mod(id.y,6.))*step(hash12(id+3.1),.92); float on=smoothstep(rnd*.9,rnd*.9+.1,uLit*1.05); float d=sdBox(f,vec2(.3,.17)); float sh=smoothstep(.03+aa*.5,-.03,d); vec3 c=vec3(.0025,.003,.0035)+W*lot*on*(sh*(.5+1.6*rnd*rnd)+.06*exp(-max(d,0.)*8.)); c=mix(c,vec3(.003)+W*.14*uLit,sat(aa*1.5-.6)); c=mix(c,vec3(.02,.022,.027)*(.5+.5*uLit),1.-exp(-t*.06)); vec3 sky=vec3(.004,.005,.007)+vec3(.03,.033,.04)*exp(-max(p.y-hz,0.)*10.); float hy=hz+.012+.045*fbm(vec2(p.x*1.8+2.,4.)); sky=mix(sky,vec3(.005,.0055,.007),smoothstep(hy+.002,hy-.002,p.y)); return p.y>hz?sky:c; } float tri(vec2 v,float s){ return max(max(v.y,dot(v,vec2(.866,-.5))),dot(v,vec2(-.866,-.5)))-s*.5; } vec3 modeC(vec2 q,vec2 qe){ vec3 c=env(qe); vec2 wc=vec2(1300.,720.), wh=vec2(520.,250.); float dw=sdBox(q-wc,wh); vec2 tq=(q-wc+wh)/vec2(7.,13.), tid=floor(tq), tf=fract(tq); float lineEnd=(.5+.5*hash12(vec2(tid.y,9.)))*148.*step(.5,mod(tid.y,9.)); float ch=step(hash12(tid),.8)*step(tid.x,lineEnd); float gl=smoothstep(.5,.25,abs(tf.x-.5))*smoothstep(.45,.25,abs(tf.y-.45)); float u=sat((q.x-wc.x+wh.x)/(2.*wh.x)); float arr=u*.6+hash12(floor(tq/vec2(8.,3.)))*.3; float on=smoothstep(arr,arr+.1,uAsm*1.05); float inW=smoothstep(1.,-1.,dw); float vg=.75+.35*(1.-sat((q.y-wc.y+wh.y)/(2.*wh.y))); c=mix(c,vec3(.003)+W*(.025+ch*gl*.8*vg),inW*on); c+=W*.05*exp(-max(dw,0.)/60.)*uAsm*step(0.,dw); float dwr=sdBox(vec2(q.x,1940.-q.y)-wc,wh); c+=W*.07*uAsm*smoothstep(1.,-1.,dwr)*step(970.,q.y)*exp(-(q.y-970.)*.01); float sfade=smoothstep(0.,.15,uAsm)*(1.-.75*smoothstep(.5,1.,uAsm)); float yc=1000.-280.*smoothstep(-100.,900.,q.x), sv=q.y-yc; vec2 sg=vec2(q.x-uTime*140.,sv+18.*sin(q.x*.01-uTime))/vec2(44.,30.); vec2 sid=floor(sg), sfr=fract(sg)-.5; float sr=hash12(sid); float shv=smoothstep(.04,-.04,sdBox(sfr,vec2(.3,.24)))*step(sr,.5)*exp(-sv*sv/16000.)*smoothstep(820.,760.,q.x); c+=W*shv*sfade*(.5+.9*sr); for(int i=0;i<12;i++){ float fi=float(i), r1=hash12(vec2(fi,1.3)), r2=hash12(vec2(fi,7.7)); float sh=sat(uSh*1.3-r1*.3), m=step(.001,sh), sz=24.+34.*r2; vec2 st=wc+vec2((r1*2.-1.)*wh.x*.9,-wh.y+30.+r2*120.); float dh=tri((q-st)*vec2(1.,1.7),sz); c=mix(c,vec3(.002),smoothstep(1.,-1.,dh)*m*inW); vec2 pos=st+vec2((r1-.5)*260.,-(180.+260.*r2))*sh; float ang=sh*(2.+3.*r2)*(r1>.5?1.:-1.); float df=tri(rot2(ang)*(q-pos)*vec2(1.,1.7),sz); c=mix(c,vec3(.004),smoothstep(1.,-1.,df)*m); c+=W*.35*smoothstep(2.,0.,abs(df))*m*(1.-sh*.5); } return c; } vec3 modeD(vec2 p){ float R=mix(1.7,.8,uC); vec2 pc=vec2(.85,.42-R); vec2 dd=p-pc; float r=length(dd), x=r-R; vec3 c=vec3(.002,.0025,.004); vec2 sg=p*110.; float sr=hash12(floor(sg)); c+=W*step(.986,sr)*smoothstep(.3,0.,length(fract(sg)-.5))*(.35+.25*sin(uTime*1.1+sr*60.))*step(0.,x); c+=vec3(.5,.56,.66)*(.45*exp(-abs(x)*90.)+.06*exp(-max(x,0.)*12.)); vec2 nx=dd/R; float nz=sqrt(max(1.-dot(nx,nx),0.)); vec2 sp=vec2(atan(nx.x,max(nz,.001))+uTime*.006+.6,asin(clamp(nx.y,-1.,1.))); float land=smoothstep(.42,.58,fbm(sp*2.5+1.3)); float dens=smoothstep(.35,.75,fbm(sp*7.+4.))*land; vec2 cg=sp*150., cid=floor(cg), cf=fract(cg)-.5; float cr=hash12(cid); float aa=max(fwidth(cg.x),fwidth(cg.y)); float pt=smoothstep(.4,.05,length(cf))*step(cr,dens*uLd*.9)*(.8+2.2*hash12(cid+.7)); pt=mix(pt,dens*uLd*.35,sat(aa*1.5-.5)); vec3 s=vec3(.004,.0045,.006)+vec3(.012,.013,.016)*land*nz; s+=W*(pt*(.4+.6*nz)+.1*dens*uLd); s+=vec3(.4,.45,.55)*.25*pow(1.-nz,5.); return mix(c,s,smoothstep(.002,-.002,x)); } void main(){ vec2 p=(vUv-.5)*vec2(uRes.x/uRes.y,1.), q=design(vUv), qe=q+uM*vec2(14.,6.); vec3 c=vec3(0.); if(uWa>.001) c+=uWa*modeA(q,qe); if(uWb>.001) c+=uWb*modeB(p); if(uWc>.001) c+=uWc*modeC(q,qe); if(uWd>.001) c+=uWd*modeD(p); c*=1.-.55*(1.-uWa)*smoothstep(1250.,500.,q.x)*smoothstep(470.,200.,q.y); c*=1.-.5*uWd*smoothstep(1100.,600.,q.x)*smoothstep(650.,780.,q.y); o=vec4(c,1.); }`,'swarm world') } }, draw(s,d,r){ const E=d.E, L=E.lin, U=r.U, c=d.ctx2d, W=r.cream; const sc=1-.97*s.k(1,0,3,E.io3), xb=s.k(1,1,3.5), xc=s.k(2,0,1.5), xd=s.k(3,0,1.5); U.uSc=sc; U.uA=s.k(1,0,4.5,E.io3); U.uLit=s.k(1,.8,4.5); U.uAsm=s.k(2,.5,5.5,E.io3); U.uSh=s.k(2,2.5,6,E.out3); U.uC=s.k(3,0,4,E.io3); U.uLd=s.k(3,.5,6); U.uWa=1-xb; U.uWb=xb*(1-xc); U.uWc=xc*(1-xd); U.uWd=xd; U.uM[0]=s.mouse.x; U.uM[1]=s.mouse.y; r.bg.draw(U); const al=1-s.k(1,1.4,2.8,L); if(al>0.01){ c.save(); c.translate(1240,760); c.scale(sc,sc); c.translate(-1240,-760); d.rect(960,430,260,20,'#3a3e46',.85*al); d.rect(960,470,420,10,'#8a9099',.7*al); d.rect(960,492,360,10,'#8a9099',.7*al); const ty=s.k(0,1,4.5,L); const tb=d.text(r.line.slice(0,Math.round(ty*r.line.length)),{x:960,y:580,size:40,font:'mono',color:'#101317',alpha:al}); if(ty>0&&ty<1) d.rect(tb.x+tb.w+4,tb.y,14,46,'#101317',al); const full=d.text(r.line,{x:960,y:580,size:40,font:'mono',show:0}); d.select(full.x-20,full.y-16,full.w+40,full.h+32,{a:s.k(0,.8,1.4,L)*(1-s.k(1,0,.6,L))}); c.restore(); } d.text('One.',{x:150,y:150,size:220,font:'800 SIZEpx system-ui,sans-serif',color:W,show:s.k(0,.3,1.2,L),hide:s.k(1,0,.6,L)}); const h2=d.text('30,000 at once.',{x:150,y:150,size:120,font:'display',color:W,show:s.k(1,1,2.2,L),hide:s.k(2,0,.6,L)}); d.text('Agents at work inside Anthropic, August 2026',{x:150,y:h2.y+h2.h+30,size:32,font:'mono',color:'#c9ced6',style:'fade',show:s.k(1,1.6,2.6,L),hide:s.k(2,0,.6,L)}); const h3=d.text('17 million lines of proof:\nRiemann.',{x:150,y:120,size:84,font:'display',color:W,show:s.k(2,.9,2.2,L),hide:s.k(3,0,.6,L)}); d.text('Claude with Levent Alpöge. Proof certified in Lean, November 2026',{x:150,y:h3.y+h3.h+24,size:26,font:'mono',color:'#c9ced6',style:'fade',show:s.k(2,1.5,2.6,L),hide:s.k(3,0,.6,L)}); d.text('Now a million of them,\nfifty times your speed.',{x:150,y:130,size:84,font:'display',color:W,show:s.k(3,.9,2.2,L)}); d.text('Since this slide opened they have thought for',{x:150,y:740,size:34,font:'text',color:'#c9ced6',style:'fade',show:s.k(3,1.2,2.2,L)}); const yrs=(s.k(3,0,20,L)*30).toFixed(1)+' years.'; d.text(yrs,{x:150,y:795,size:190,font:'display',color:W,style:'fade',show:s.k(3,1.2,2.2,L)}); } });