Deck.transition('flaps',{dur:1.2,frag:`void main(){ vec2 g=vec2(28.,16.); vec2 cid=floor(vUv*g); float dl=(cid.x/g.x)*.55+((g.y-1.-cid.y)/g.y)*.35; float k=sat((p-dl*.5)/.5); float sq=abs(k-.5)*2.; float sy=mix(.02,1.,sq); vec2 cell=(cid+.5)/g; vec2 uv=vUv; uv.y=cell.y+(vUv.y-cell.y)*sy; vec3 col=k<.5?texture(tA,uv).rgb:texture(tB,uv).rgb; col*=mix(.10,1.,sq); col+=vec3(.55,.65,.85)*pow(1.-sq,4.)*.35; o=vec4(col,1.); }`}); Deck.scene({ id:'swarm', title:'A country of them', enterWith:'flaps', post:{bloom:1.15,threshold:.9,vignette:.36,grain:.035,exposure:1,tone:'aces'}, beats:[{dur:4.6,hold:4},{dur:6,hold:5},{dur:6,hold:6},{dur:8.6,hold:5}], 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={uPh:0,uH:1.2,uShard:0,uOrb:0,uLit:0,uM:[0,0]}; return { U, sky:d.pass(`uniform float uPh; uniform float uH; uniform float uShard; uniform float uOrb; uniform float uLit; uniform vec2 uM; vec3 pic0(vec2 p){ vec2 q=p+uM*vec2(.008,-.006); vec2 ctr=vec2(.255,.0); vec2 hs=vec2(.290,.163); vec2 dd=abs(q-ctr)-hs; float d=length(max(dd,0.))+min(max(dd.x,dd.y),0.); float m=smoothstep(.0035,-.0035,d); float tex=.94+.09*fbm((q-ctr)*vec2(7.,4.)+3.); vec3 paper=vec3(.62,.65,.72)*(.30+.70*uLit)*tex; vec3 c=vec3(.011,.013,.019); c+=vec3(.06,.08,.13)*exp(-max(d,0.)*6.5)*(.35+.65*uLit); c+=vec3(.020,.028,.045)*exp(-length(q-ctr)*2.6)*(.3+.7*uLit); c=mix(c,paper,m); return c; } vec3 pic1(vec2 p){ float hz=.235; vec3 c=vec3(.0035,.0045,.0080); float sy=p.y-hz; c+=vec3(.006,.009,.020)*smoothstep(0.,.55,sy); vec2 sp=p*210.; float sh=hash12(floor(sp)); c+=vec3(.30,.40,.65)*step(.994,sh)*smoothstep(.5,0.,length(fract(sp)-.5))*smoothstep(0.,.08,sy)*(.6+.4*sin(uTime*1.1+sh*50.)); float hh=.010+.028*fbm(vec2(p.x*2.4+3.,1.7)); c=mix(c,vec3(.005,.007,.012),smoothstep(hh+.003,hh-.003,sy)); float t=uH/max(hz-p.y,.004); vec2 P=vec2(p.x*t,t); vec2 g=P/vec2(.85,.85); vec2 id=floor(g); vec2 f=fract(g)-.5; float aa=max(fwidth(g.x),fwidth(g.y)); if(p.y.002&&a<2.5) c=mix(c,pic(a+1.,p),f); vec2 q=design(vUv); c*=1.-.90*smoothstep(940.,180.,q.x)*smoothstep(700.,180.,q.y); c*=1.-.82*smoothstep(900.,220.,q.x)*smoothstep(640.,920.,q.y); o=vec4(c,1.); }`,'swarm') }; }, draw(s,d,r){ const U=r.U, L=d.E.lin, b=s.beat; const fade=s.k(b,0,.4,L); U.uPh=Math.max(0,Math.min(3,b-1+fade)); U.uH=1.2+62*s.k(1,.2,5.8,d.E.io3); U.uShard=s.k(2,0,5.8,d.E.io3); U.uOrb=s.k(3,0,7.6,d.E.io3); U.uLit=s.k(0,.2,1.6,d.E.out3); U.uM[0]=s.mouse.x; U.uM[1]=s.mouse.y; r.sky.draw(U); const cream='#eef2f8', dim='#9aa7bd'; const out0=s.k(1,0,.4,L); /* beat 0 — one sheet */ d.text('One.',{x:140,y:150,size:150,font:'display',color:cream, show:s.k(0,.3,1.8,L),hide:out0}); const full=' |S(n)| <= C log n'; const typed=s.k(0,1.0,3.4,L); d.text('proof:',{x:960,y:420,size:24,font:'mono',color:'#565d6b', show:s.k(0,.6,1.6,L)*.9,hide:out0}); const tb=d.text(full.slice(0,Math.round(typed*full.length)),{x:960,y:462,size:26,font:'mono',color:'#1b2028', show:1,hide:out0}); if(typed>0&&typed<1&&b===0) d.rect(tb.x+tb.w+3,tb.y+2,12,26,'#1b2028',1-out0); d.text('qed.',{x:960,y:540,size:24,font:'mono',color:'#565d6b', show:s.k(0,3.2,4.0,L),hide:out0}); const mb=d.text(full,{x:960,y:462,size:26,font:'mono',show:0}); d.select(mb.x-22,mb.y-18,mb.w+44,mb.h+36,{a:s.k(0,3.0,3.9,L)*(1-out0)}); /* beat 1 — aerial grid */ const h1=d.text('30,000 at once.',{x:140,y:110,size:100,font:'display',color:cream, show:s.k(1,.8,2.0,L),hide:s.k(2,0,.5,L)}); d.text('Agents at work inside Anthropic, August 2026',{x:140,y:h1.y+h1.h+26,size:28,font:'mono',color:dim, show:s.k(1,1.5,2.6,L),hide:s.k(2,0,.5,L)}); /* beat 2 — wall of proof */ const h2=d.text('17 million lines of proof:\nRiemann.',{x:140,y:110,size:92,font:'display',color:cream, show:s.k(2,.8,2.0,L),hide:s.k(3,0,.5,L)}); d.text('Claude with Levent Alpöge. Proof certified in Lean, November 2026', {x:140,y:h2.y+h2.h+26,size:28,font:'mono',color:dim, show:s.k(2,1.5,2.6,L),hide:s.k(3,0,.5,L)}); /* beat 3 — orbit and the counter */ d.text('Now a million of them,\nfifty times your speed.',{x:140,y:110,size:88,font:'display',color:cream, show:s.k(3,.8,2.0,L)}); const yrs=(1.5*(s.k(3,0,8.6,L)*8.6)).toFixed(1)+' years.'; d.text('Since this slide opened they have thought for',{x:140,y:752,size:30,font:'mono',color:dim, show:s.k(3,1.0,2.2,L),style:'fade'}); d.text(yrs,{x:140,y:800,size:118,font:'mono',color:'#f4f7ff', show:s.k(3,1.0,2.2,L),style:'fade'}); } });