>? -- title: numbers spiral -- author: potato imaginator -- desc: Enjoy ! -- site: -- -- license: MIT License -- version: 1 -- script: lua function BOOT() cos=math.cos sin=math.sin pi=math.pi atan2=math.atan2 t=0 a,b,c={},{},{} for i=0,59 do a[i],b[i],c[i]={},{},{} for j=0,22 do a[i][j]=math.random(0,9) b[i][j]=math.random(0,9) c[i][j]=0 end end end function TIC() cls(12) for i=0,59 do for j=0,22 do print('8',4*i,6*j,2,false,1,true) end end for i=-120,120 do for j=-68,68 do r=(i^2+j^2)^0.5 ang=atan2(j,i) if sin(ang+r^0.5+t)>=0 then col=10 else col=8 end pix(120+i,68+j,col) end end for i=0,59 do for j=0,22 do c[i][j]=pix(4*i,6*j) end end cls(9) for i=0,59 do for j=0,22 do if c[i][j]==10 then print (a[i][j],4*i,6*j,11,false,1,true) elseif c[i][j]==8 then print (b[i][j],4*i,6*j,0,false,1,true) end end end t=t-1/6 end