Deck.transition('portal-in',{dur:1.4,frag:`void main(){ float e=p*p*(3.-2.*p); vec2 c=vUv-.5; vec2 ua=c/(1.+e*5.)+.5, ub=c*(.7+.3*e)+.5; // the slide rushes at us; the place behind it settles float dd=max(abs(c.x),abs(c.y))-e*.78; // a window opening from the centre float m=smoothstep(0.,-.03,dd); vec3 a=texture(tA,ua).rgb*(1.-.5*smoothstep(-.12,0.,dd)*sat(e*8.)); // shadow on the slide round the window frame o=vec4(mix(a,texture(tB,ub).rgb,m),1.); }`}); Deck.scene({ id:'tower', title:'The real chart', enterWith:'portal-in', post:{bloom:.8,threshold:1,vignette:.2,grain:.03}, beats:[{dur:3,hold:5},{dur:4,hold:5},{dur:4.5,hold:6},{dur:5.5,hold:6}], notes:[ 'METR measures how long a task AI can finish on its own, half the time. GPT-4 could manage about four minutes of work. This is a linear scale, so nearly everything is on the floor.', 'In April 2025, o3 reached two hours. In November 2025, Opus 4.5 reached 4.9 hours and the line left the slide. Source: METR time horizons, 50 percent success.', 'February 2026, Opus 4.6, twelve hours. April, Mythos Preview, seventeen. METR reported GPT-6 Astra at about forty hours in November 2026, and puts the recent doubling time at 3.6 months. Be honest about the error bars: for forty hours the range is 13 to 2,645, because the test is running out of long tasks.', 'The dashed part is only the trend continued, not a measurement: 200 hours in July 2027. Look down. Everything before 2025 is at the very bottom.'], setup(d){ const st={S:190,G:850,W:900,P:0}; // camera state, rewritten each frame const P=[2019,.002,2023.2,.067,2025.3,2,2025.9,4.9,2026.1,12,2026.3,17,2026.85,40,2027.5,200]; const Hy=y=>{ for(let i=0;i<14;i+=2){ if(y<=P[i+2]||i===12){ const f=(y-P[i])/(P[i+2]-P[i]); return P[i+1]*Math.pow(P[i+3]/P[i+1],f); } } return 200; }; const hw=H=>.5*st.W*(1+st.P*(H/200*1.8-.7)); // same half-width as the shader const Y=H=>st.G-H*st.S; const X=(yr,H)=>1300+(.16+.78*(yr-2019)/9-.5)*2*hw(H); const ink='#231a22'; const tag=(str,px,py,tx,ty,a,left)=>{ // a small paper flag with a leader to the data point const b=d.text(str,{x:0,y:ty-17,size:28,font:'mono',show:0}); if(left) tx=px-tx-b.w-24; // left: tx is the gap, the flag sits left of the dot if(a>0){ const c=d.ctx2d; c.globalAlpha=a; c.strokeStyle='#f6f0e4'; c.lineWidth=2; c.beginPath(); c.moveTo(px,py); c.lineTo(left?tx+b.w+24:tx,ty); c.stroke(); c.fillStyle='#e0312a'; c.beginPath(); c.arc(px,py,7,0,6.283); c.fill(); c.globalAlpha=1; d.rect(tx,ty-26,b.w+24,52,'#f6f0e4',a); d.text(str,{x:tx+12,y:ty-17,size:28,font:'mono',color:ink,alpha:a}); } b.x=tx; b.y=ty-26; b.w+=24; b.h=52; return b; }; const cl=v=>v<0?0:v>1?1:v; return { st,Hy,hw,Y,X,tag,cl,ink, dash:[16,14], nodash:[], LS:[Math.log(190),Math.log(75),Math.log(20),Math.log(4.3)], years:['2019','2020','2021','2022','2023','2024','2025','2026','2027'], ylab:['1 hour','2 hours','3 hours'], TK:[[4,'4 h',30,130],[8,'8 h',30,130],[12,'12 h',30,130],[20,'20 h',9,130],[100,'100 h',0,9]], birds:[[560,600,11],[600,585,9],[640,612,12],[690,575,10],[720,630,9],[770,598,12],[810,566,10],[850,620,11],[905,590,9]], U:{uS:190,uG:850,uW:900,uTop:4,uP:0,uC1:0,uC2:0,uC3:0,uM:[0,0]}, bg:d.pass(`uniform float uS,uG,uW,uTop,uP,uC1,uC2,uC3; uniform vec2 uM; const float CX=1300.; vec3 dawn(float a){ vec3 c=mix(vec3(.95,.55,.42),vec3(.5,.4,.55),smoothstep(0.,.35,a)); c=mix(c,vec3(.14,.2,.42),smoothstep(.25,1.,a)); return mix(c,mix(vec3(.75,.6,.6),vec3(.06,.12,.35),smoothstep(0.,.7,a)),uC2); } vec4 paper(vec2 q){ float H=(uG-q.y)/uS; float id=H<4.?0.:H<8.?1.:H<12.?2.:H<20.?3.:4.+floor((H-20.)/10.); float lo=H<4.?-.32:H<8.?4.:H<12.?8.:H<20.?12.:20.+10.*(id-4.); float hw=.5*uW*(1.+uP*(H/200.*1.8-.7)); float off=id<.5?0.:uW*.02*sin(id*2.4+.5)+(H-lo)*uS*.03*sin(id*1.7+1.); // upper sheets lean a little float m=smoothstep(1.5,-1.5,abs(q.x-CX-off)-hw)*step(-.32,H)*smoothstep(uTop,uTop-2./uS,H); vec3 c=vec3(.78,.74,.68)*(.9+.2*fbm(q*vec2(.02,.006)+id*7.)); c*=1.-.35*exp(-(H-lo)*uS/5.)*step(.5,id); // shadow under each seam c*=.94+.08*(q.x-CX-off)/max(hw,1.); // sun is on the right c*=1.+.3*uC2; // brighter in the high, clear air return vec4(c,m); } void main(){ vec2 q=design(vUv); float x=q.x-960.; float yb=uG+.32*uS, hz0=yb-45.-60.*uC2-100.*uC3, hz=hz0+uC3*x*x*.00012; // horizon; curves into a limb at the edge of space vec2 sp=vec2(1840.+uM.x*6.,hz0+uC3*93.-38.); float sd=length(q-sp); float a=sat((hz-q.y)/900.); vec3 c; if(q.yyb){ vec4 pr=paper(vec2(q.x,2.*yb-q.y)); c=mix(c,pr.rgb*.8,pr.a*.4*exp(-(q.y-yb)/250.)*(1.-uC2)); } // mirror on the salt } vec4 pp=paper(q); c=mix(c,pp.rgb,pp.a); float dk=uC2*(1.-uC3), da=sat(dk*4.); // cloud deck rises over the tower's foot float lit=sat((q.x-300.)/1500.); // sun side is warmer float ty=800.+(1.-dk)*500.-140.*fbm(vec2(q.x*.006+uTime*.01+uM.x*.01,3.))-40.*fbm(vec2(q.x*.02+uTime*.015,5.)); float ty2=ty-110.+80.*fbm(vec2(q.x*.005-uTime*.006,9.))-25.*fbm(vec2(q.x*.018,12.)); float ty3=ty+230.-150.*fbm(vec2(q.x*.004-uTime*.008,17.))-40.*fbm(vec2(q.x*.016+uTime*.01,21.)); vec3 far=mix(vec3(.62,.52,.66),vec3(.3,.34,.56),sat((q.y-ty2)/120.)); // far cloud tops, hazed c=mix(c,far,smoothstep(ty2-4.,ty2+14.,q.y)*da*.85*(1.-pp.a*.7)); float bil=fbm(q*.012+vec2(uTime*.01,0.)); vec3 cc=mix(vec3(.92,.74,.68)+vec3(.08,.03,0.)*lit,vec3(.38,.36,.54),sat((q.y-ty)/170.))*(.75+.4*bil); c=mix(c,cc,smoothstep(ty-4.,ty+16.,q.y)*da); // main deck: lit tops, shadowed bellies vec3 c3=mix(vec3(.95,.78,.72)+vec3(.08,.03,0.)*lit,vec3(.45,.42,.58),sat((q.y-ty3)/200.))*(.75+.4*fbm(q*.009+3.)); c=mix(c,c3,smoothstep(ty3-4.,ty3+16.,q.y)*da); // nearest bank c*=1.-.3*smoothstep(1000.,300.,q.x)*smoothstep(700.,400.,q.y); // calm corner for the headline o=vec4(c,1.); }`,'tower dawn') }; }, draw(s,d,r){ const c=d.ctx2d,E=d.E,L=E.lin,st=r.st,U=r.U,cl=r.cl,ink=r.ink; const c1=s.k(1,0,4),c2=s.k(2,0,4.5),c3=s.k(3,0,5),LS=r.LS; st.S=Math.exp(LS[0]+(LS[1]-LS[0])*c1+(LS[2]-LS[1])*c2+(LS[3]-LS[2])*c3); st.G=850+30*c1+120*c2+3*Math.sin(s.t*.3)+s.mouse.y*5; st.W=900*Math.sqrt(st.S/190)*(1+.4*c2*(1-c3)); st.P=c3; // wider tower beside the camera in beat 3 const S=st.S,sc=S/190; const top=4+16*s.k(1,.2,3.6)+28*s.k(2,.3,4.2)+167*s.k(3,.3,4.6); const yr=2019+4.6*s.k(0,.8,3,E.out3)+2.3*s.k(1,.3,3.5)+.95*s.k(2,.5,4)+.65*s.k(3,.8,4.6); U.uS=S; U.uG=st.G; U.uW=st.W; U.uTop=top; U.uP=c3; U.uC1=c1; U.uC2=c2; U.uC3=c3; U.uM[0]=s.mouse.x; U.uM[1]=s.mouse.y; r.bg.draw(U); // chart furniture printed on the first sheet (beat 1) const a13=cl((S-100)/60), lx=1300-r.hw(0); if(a13>0){ for(let i=1;i<=3;i++){ const y=r.Y(i); d.rect(r.X(2019,i),y-1,r.X(2028,i)-r.X(2019,i),2,ink,.18*a13); d.text(r.ylab[i-1],{x:lx+22,y:y-14,size:24,font:'mono',color:ink,alpha:a13}); } d.rect(r.X(2019,0),r.Y(0),r.X(2028,0)-r.X(2019,0),3,ink,a13); for(let i=0;i<9;i++) d.text(r.years[i],{x:r.X(2019+i,0),y:r.Y(0)+14,size:22,font:'mono',color:ink,align:'center',alpha:a13}); d.text('How long a task AI can finish on its own',{x:lx+40,y:r.Y(4)+38,size:36,font:'arialBold',color:ink,alpha:a13,style:'fade',show:s.k(0,.2,1.2,L)}); d.text('METR, 50% success, linear scale',{x:lx+40,y:r.Y(4)+90,size:24,font:'mono',color:'#6b5f66',alpha:a13,style:'fade',show:s.k(0,.5,1.5,L)}); } // seam ticks on the stacked sheets for(let i=0;i0){ const x=1300-r.hw(H),y=r.Y(H); d.rect(x+4,y+2,r.hw(H)*.5,2,ink,.35*a); d.text(t[1],{x:x+16,y:y+8,size:20,font:'mono',color:ink,alpha:a}); } } // the red line: solid where measured, dashed where it is only the trend const ys=Math.min(yr,2026.85); c.strokeStyle='#e0312a'; c.lineWidth=3+4*Math.sqrt(sc); c.lineJoin=c.lineCap='round'; c.beginPath(); for(let y=2019;y2026.85){ c.setLineDash(r.dash); c.beginPath(); for(let y=2026.85;y0){ const yb=st.G+.32*S+6,h=36*sc,fx=1300-st.W/2-20-70*sc; c.globalAlpha=fa; c.fillStyle='#1c1420'; c.fillRect(fx-h*.12,yb-h*.8,h*.24,h*.8); c.beginPath(); c.arc(fx,yb-h*.9,h*.12,0,6.283); c.fill(); c.globalAlpha=fa*.25; c.fillRect(fx-h*.12,yb,h*.24,h*.8); c.globalAlpha=fa; c.strokeStyle='#2a2030'; c.lineWidth=2.5; const k=.5+.5*Math.sqrt(sc),dx=30*Math.sin(s.t*.15)+s.mouse.x*10; for(let i=0;i