Does this code make sense? No, not really. But wow is this demo nice!
When it comes to fitting amazing creations into the smallest amount of code possible, I don’t think there are any better than Mathieu ‘p01’ Henri… And his most recent sketch, Night Train, is no exception.
NIGHT TRAIN
— Mathieu 'p01' Henri (@p01) December 22, 2019
A quick #pico8 #tweetjam
x=0::_::cls(13)srand()for i=0,44 do
z=64+3*sin(i/45)y=z+cos(i/2)*(9+z*z%61)x-=3
?"ˇ",x,rnd(128),6
u=x+2*sin(x/31)
for j=-9,rnd(4)+7 do line(u,y-9,x+j,y+4+i%9,1+flr(y%2)*5)end
?"=",x,z,1
if(sin(x/84)>.8)print("😐",x,z-2)
x%=134end
flip()goto _ pic.twitter.com/ZQboc8Iet6
The scene, featuring a train rolling through a generative field dotted with grass and some windy trees, is really a mind blower… Especially considering the formula generating it consists of 242 characters, fitting inside the tweet!
For real though, what is that emoji doing in there?
But How?