Deck.transition('flaps',{dur:1.4,frag:`void main(){ vec2 n=vec2(16.,9.), id=floor(vUv*n), f=fract(vUv*n); float dl=id.x/n.x*.6+(1.-id.y/n.y)*.25+hash12(id)*.15; // wave runs left to right, top first, with a little scatter float e=smoothstep(0.,1.,sat(p*1.7-dl*.7)); // every tile is at 0 when p=0 and at 1 when p=1 float cs=cos(e*3.14159265), sy=max(abs(cs),.001); // the flap seen edge-on at the half-way point float yy=(f.y-.5)/sy+.5; vec2 uv=(id+vec2(f.x,clamp(yy,0.,1.)))/n; vec3 col=e<.5?texture(tA,uv).rgb:texture(tB,uv).rgb; col*=(.35+.65*sy)*step(abs(f.y-.5),.5*sy); // darkens as it turns; black behind the turning flap o=vec4(col,1.); }`}); Deck.scene({ id:'swarm', title:'A country of them', enterWith:'flaps', post:{bloom:1.1,threshold:.9,vignette:.35,grain:.04,exposure:1.1,tone:'aces'}, beats:[{dur:3.4,hold:4},{dur:4.5,hold:4},{dur:5.5,hold:5},{dur:12,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){ return { U:{uPull:0,uFlow:0,uOrb:0,uM:[0,0]}, maths:'ζ(s) = 0 ⇒ Re(s) = 1/2', sky:d.pass(`uniform float uPull,uFlow,uOrb; uniform vec2 uM; const vec3 W=vec3(.9,.95,1.); float shardD(vec2 pp,vec2 c,float sz,float a){ vec2 l=rot2(a)*(pp-c); // an angular slab: a box with two corners cut off return max(max(sdBox(l,vec2(sz,sz*.62)),dot(l,vec2(.8,.6))-sz*.3),dot(l,vec2(-.6,.8))-sz*.35); } void main(){ vec2 q=design(vUv); vec2 p=(q-vec2(960.,540.))*vec2(1.,-1.)/1080.; // design-locked, so the flat maths line sits on the sheet vec2 pm=p+uM*.012; // parallax for everything except the hero sheet float hz=mix(-.05,.13,uPull); // sky, stars, two dark ridges vec2 sg=pm*130.; float st=hash12(floor(sg)); float star=step(.985,st)*smoothstep(.3,0.,length(fract(sg)-.5))*(.6+.4*sin(uTime*1.3+st*90.)); float up=max(pm.y-hz,0.); vec3 c=vec3(.012,.016,.024)+vec3(.05,.06,.08)*exp(-up*6.)+vec3(.6,.7,.9)*star*(1.-exp(-up*8.)); float h1=hz+.035+.07*fbm(vec2(pm.x*2.2+3.,1.)); c=mix(c,vec3(.016,.02,.028),smoothstep(.004,0.,pm.y-h1)); float h2=hz+.01+.05*fbm(vec2(pm.x*4.+11.,4.)); c=mix(c,vec3(.005,.006,.009),smoothstep(.004,0.,pm.y-h2)); // the city of sheets on the plain, seen from the air float H=mix(.25,1.,uPull); vec3 rd=vec3(pm.x,min(pm.y-hz,-.002),1.2); float t=H/-rd.y; vec2 P=vec2(rd.x,rd.z)*t+vec2(sin(uTime*.07)*.2,0.); P.x+=uFlow*(2.+1.2*sin(P.y*2.)); // beat 3: the blocks slide like a current P.y+=uFlow*.5*sin(P.x*1.3+uTime*.3); vec2 g=rot2(.28)*P/vec2(.05,.085), 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,8.))*step(.5,mod(id.y,5.))*step(hash12(id+7.),.93); // avenues and a few empty lots float cd=sdBox(f,vec2(.36,.26)); float sh=smoothstep(.04+aa*.4,-.02,cd)*lot; vec3 city=vec3(.004,.005,.007)+W*(sh*(.5+2.2*rnd)*(.9+.1*sin(uTime*2.+rnd*50.))+.07*exp(-max(cd,0.)*8.)*lot); city=mix(city,vec3(.004,.005,.007)+W*.12,sat(aa*1.2-.6)); // far cells settle to a dim value, not a grey slab city=mix(city,vec3(.007,.009,.013),1.-exp(-t*.1)); // distance fades into the black plain if(pm.y