Deck.transition('flaps',{dur:1.2,frag:`void main(){ float n=10.; float i=floor(vUv.x*n); float tt=sat(p*1.7-i/n*.7); tt=tt*tt*(3.-2.*tt); float c=cos(tt*3.14159); float sc=max(abs(c),.001); float y=(vUv.y-.5)/sc+.5; vec4 col=tt<.5?texture(tA,vec2(vUv.x,y)):texture(tB,vec2(vUv.x,y)); float inside=step(abs(y-.5),.5); vec4 bg=vec4(.07,.05,.05,1.)*(.7+.3*sin(i*2.)); o=mix(bg,col*(.5+.5*abs(c)),inside); }`}); Deck.scene({ id:'calendar', title:'2027', enterWith:'flaps', post:{tone:'none'}, beats:[{dur:2,hold:4},{dur:5.2,hold:5},{dur:3,hold:6},{dur:4,hold:5}], notes:[ 'This is 2027 on the wall. Three hundred and sixty five days, and the printer gave every one of them the same size.', 'Now size each day by how much AI progress happens in it, next to a day in 2025. In this run it is about 1.7 on the first of January, 6 by the middle of February, 40 on 12 April, a thousand by 1 July. January to March turn into lint. June does not fit. This is one modelled run, not a measurement.', "In the example run from the AI Futures Project, November 2026 update, 12 April is the day AI beats the best human researchers, and 1 July is superintelligence. It is one published run, and the authors' own medians are later: May to August 2027 for the superhuman researcher. If someone asks how 200-hour tasks and superintelligence can land in the same month: the tower was the old trend continued, this is a model where AI speeds up its own progress.", 'And it keeps going. At a thousand times the pace, one July day holds more than a year of 2025. Let that day open.' ], setup(d){ return { bg:d.pass(`uniform float uW,uZ,uDet; uniform vec2 uM; const float CW=31.32; const float RH=64.; const float D=1900.; const float G0=28.5; float dimf(float m){ return m==1.?28.:((m==3.||m==5.||m==8.||m==10.)?30.:31.); } vec3 cell(vec2 fl,float sun,float base,float det,vec3 paper,float rnd){ vec3 cc=mix(paper,vec3(.96,.78,.7),sun*.5); vec3 ink=mix(vec3(.05),vec3(.82,.1,.08),sun); float num=step(.2,fl.x)*step(fl.x,.2+.55*(.4+.6*rnd))*step(.12,fl.y)*step(fl.y,.45); vec3 avg=mix(cc,ink,.15); cc=mix(cc,ink,num*.9); vec2 e=min(fl,1.-fl); float ln=max(1.-smoothstep(0.,.05,e.x),1.-smoothstep(0.,.03,e.y)); cc=mix(cc,cc*.6,ln*.5); return mix(avg,cc,det); } vec3 nest(vec2 f,vec2 fw){ vec3 paper=vec3(.96,.93,.86); vec2 m=f*vec2(4.,3.); vec2 mid=floor(m); vec2 mf=fract(m); vec2 inn=(mf-.07)/.86; float inb=step(0.,inn.x)*step(inn.x,1.)*step(0.,inn.y)*step(inn.y,1.); vec3 mp=paper*(.94+.06*mod(mid.x+mid.y,2.)); vec2 gd=inn*vec2(7.,6.); vec2 id=floor(gd); vec2 fl=fract(gd); float fp=max(fw.x*23.5,fw.y*15.); float det1=1.-smoothstep(.25,.6,fp); float rn=hash12(id+mid*13.); vec3 dc=cell(fl,step(5.5,id.x),0.,det1,mp,rn); vec2 tg=fl*vec2(7.,6.); vec2 tid=floor(tg); vec2 tf=fract(tg); float det2=1.-smoothstep(.2,.6,fp*7.); float dt=step(.3,hash12(tid+id*7.+mid))*step(abs(tf.x-.5),.3)*step(abs(tf.y-.5),.3); vec3 tcol=mix(mp,mix(vec3(.08),vec3(.8,.1,.08),step(5.5,tid.x)),dt); vec3 tcc=mix(mix(mp,vec3(.08),.22),tcol,det2); float inday=step(.08,min(fl.x,fl.y))*step(max(fl.x,fl.y),.92); vec3 dcell=mix(dc,tcc,step(.5,rn)*inday*det1); return mix(vec3(.88,.84,.76),mix(mp,dcell,inb),1.); } float lt(vec2 q){ float a=dot(q,vec2(.8,.6))+sin(uTime*.2)*6.; float b=dot(q,vec2(-.6,.8)); float m1=abs(fract(a/820.+.15)-.5), m2=abs(fract(b/980.+.3)-.5); float l=1.-.3*(1.-smoothstep(.02,.07,m1))-.3*(1.-smoothstep(.02,.07,m2)); return l*(.82+.28*sat(1.2-q.x/1900.)); } void main(){ vec2 qd=design(vUv)+uM*8.; vec2 c0=vec2(983.,585.); vec2 S=mix(c0,vec2(960.,540.),sat((uZ-1.)/1.7)); vec2 q=(qd-S)/uZ+c0; float dn=(q.x-100.)/D+1./G0; float gx=dn>1./G0?G0-1./dn:(dn-1./G0)*G0*G0; float wd=D/((G0-gx)*(G0-gx)); float hh=.85*wd; float yc=900.-340.*pow(sat(gx/27.5),2.); vec2 gw=vec2(gx,(q.y-yc)/hh+3.5); vec2 glin=vec2((q.x-130.)/CW,(q.y-430.)/RH); vec2 g=mix(glin,gw,uW); vec2 fw=fwidth(g); vec3 col=vec3(.55,.09,.075)*(.85+.3*fbm(qd*.006))+(hash12(floor(qd))-.5)*.03; float lo=mix(-6.4,-.8,uW); float hi=mix(8.4,7.8,uW); float inP=step(-1.,g.x)*step(g.x,54.5)*step(lo,g.y)*step(g.y,hi); vec3 paper=vec3(.94,.91,.84)*(.97+.05*fbm(qd*.05)); vec2 id=floor(g), fl=fract(g); float doy=id.x*7.+id.y-4.; float valid=step(0.,g.x)*step(g.x,54.)*step(0.,g.y)*step(g.y,7.)*step(0.,doy)*step(doy,364.5); float rem=doy, mo=0.; for(int i=0;i<12;i++){ float dm=dimf(float(i)); if(rem>=dm){ rem-=dm; mo+=1.; } } float det=1.-smoothstep(.3,.8,max(fw.x,fw.y)); vec3 pb=paper*mix(1.,.9,mod(mo,2.)); vec3 cc=cell(fl,step(5.5,id.y),0.,det,pb,hash12(id)); float jul=step(abs(id.x-26.),.5)*step(abs(id.y-3.),.5); cc=mix(cc,nest(g-vec2(26.,3.),fw),uDet*jul); vec3 pc=mix(paper,cc,valid); pc*=1.+uW*.15*(fbm(qd*.03)-.5); pc*=1.-uW*.3*(1.-smoothstep(0.,16.,gx)); col=mix(col*.8,pc,inP); float reg=min(abs(length(abs(qd-vec2(960.,540.))-vec2(900.,500.))-9.),9.); col=mix(col,vec3(.05),smoothstep(1.2,0.,reg)*(1.-uW)); col*=lt(qd); o=vec4(clamp(col,0.,1.),1.); }`,'calendar paper') } }, draw(s,d,r){ const E=d.E, L=E.lin, ink='#111', c=d.ctx2d; const w=s.k(1,.3,5,E.io3); const z=1+1.7*s.k(3,0,4,E.io3); const det=s.k(3,.2,1.8,L); r.bg.draw({uW:w,uZ:z,uDet:det,uM:[s.mouse.x,s.mouse.y]}); // paper label strip: text measured, then drawn on a tilted slip const strip=(txt,o)=>{ const a=Math.min(1,o.show*2.5)*(1-o.hide); if(a<=0) return; c.save(); c.translate(o.x,o.y); c.rotate(o.rot); const b=d.text(txt,{font:'arialBold',size:o.size,x:0,y:0,show:0}); d.rect(-22,-10,b.w+52,b.h+26,'#000',.3*a); d.rect(-28,-16,b.w+52,b.h+26,'#f2e9d6',.97*a); d.text(txt,{font:'arialBold',size:o.size,x:0,y:0,color:o.color,show:o.show,hide:o.hide,style:'fade'}); c.restore(); }; d.text('2027',{x:150,y:70,size:230,font:'arialBold',color:ink,show:s.k(0,.3,1.6,L),hide:s.k(1,0,.6,L),style:'fade'}); d.text('Every day the same size.',{x:780,y:170,size:64,font:'arialBold',color:ink,show:s.k(0,.5,1.8,L),hide:s.k(1,0,.6,L)}); strip('Now size each day\nby how much happens in it.',{x:110,y:70,size:62,rot:-.012,color:ink,show:s.k(1,.8,2,L),hide:s.k(2,0,.6,L)}); strip('12 April: AI that beats the best human researchers',{x:110,y:64,size:40,rot:-.01,color:ink,show:s.k(2,.3,1.2,L),hide:s.k(3,0,.5,L)}); strip('1 July: superintelligence',{x:150,y:150,size:44,rot:.01,color:'#b01a12',show:s.k(2,1,1.9,L),hide:s.k(3,0,.5,L)}); strip("One example run, AI Futures Project, November 2026. Its authors' own medians are later.",{x:100,y:850,size:32,rot:-.006,color:ink,show:s.k(2,1.6,2.6,L),hide:s.k(3,0,.5,L)}); // selection quad that follows the warped paper around the 1 July cell const a=s.k(2,1.8,2.6,L)*(1-s.k(3,0,.5,L)); if(a>0){ const D=1900,G0=28.5,mx=s.mouse.x*8,my=s.mouse.y*8; const P=(gx,gy)=>{ const wd=D/((G0-gx)*(G0-gx)); return [100+D/(G0-gx)-D/G0-mx, 900-340*Math.pow(Math.min(1,gx/27.5),2)+(gy-3.5)*.85*wd-my]; }; const pts=[]; const N=12; for(let i=0;ii?c.lineTo(q[0],q[1]):c.moveTo(q[0],q[1])); c.closePath(); c.stroke(); const hs=[P(26,3),P(26.5,3),P(27,3),P(27,3.5),P(27,4),P(26.5,4),P(26,4),P(26,3.5)]; c.fillStyle='#fff'; c.lineWidth=4; hs.forEach(q=>{ c.beginPath(); c.arc(q[0],q[1],11,0,6.2832); c.fill(); c.stroke(); }); c.restore(); } // closing headline on a solid paper band const ba=s.k(3,1.5,2.3,L); if(ba>0){ d.rect(480,430,960,200,'#000',.25*ba); d.rect(470,420,960,200,'#f2e9d6',.97*ba); } d.text('Then a year fits in a day.',{x:950,y:445,size:66,font:'arialBold',color:ink,align:'center',show:s.k(3,1.8,3,L)}); d.text('illustration',{x:950,y:545,size:40,font:'mono',color:'#222',align:'center',style:'fade',show:s.k(3,2.6,3.4,L)}); const kc=s.k(1,.6,5,E.io3), vis=s.k(1,.6,1.4,L), right=d.view.x1-110; if(vis>0){ const v=Math.round(Math.pow(10,9.7*kc)); d.rect(right-560,915,600,110,'#111',.8*vis); d.text(v.toLocaleString('en-US'),{x:right,y:935,size:60,font:'mono',color:'#f3ead6',align:'right',show:1,alpha:vis}); } } });