What is Nostr?
Peter Cottle /
npub1uh4…5ca2
2024-05-25 15:12:44

Peter Cottle on Nostr: I've always found the code golf / demo scene so impressive. This visualization from ...

I've always found the code golf / demo scene so impressive. This visualization from Frank Force below fits in a 256 byte standalone HTML file and produces a whole world and feeling

<canvas style=width:99% id=c onclick=setInterval('for(c.width=w=99,++t,i=6e3;i--;c.getContext`2d`.fillRect(i%w,i/w|0,1-d*Z/w+s,1))for(a=i%w/50-1,s=b=1-i/4e3,X=t,Y=Z=d=1;++Z<w&(Y<6-(32<Z&27<X%w&&X/9^Z/8)*8%46||d|(s=(X&Y&Z)%3/Z,a=b=1,d=Z/w));Y-=b)X+=a',t=9)>
https://scontent-nrt1-2.cdninstagram.com/o1/v/t16/f2/m69/An_S0mczEa6lHEsfmYV8yobtco-p4pgOun3FRLDlo71gIL5pbOpffBmv7NNt249SATCYvwQ5vi_C-MwE3lzmeGlB?_nc_ht=scontent-nrt1-2.cdninstagram.com&_nc_cat=107&vs=471165735305896_3615675785&_nc_vs=HBkcFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HRW9GNWhneEh4cW9CSm9CQUtLQXA1TVZIUDU5YmtZTEFBQUYVAALIAQAoABgAGwGIB3VzZV9vaWwBMRUAACbqnr-V7ZWCQBUCKAJDMywXQBbMzMzMzM0YEmRhc2hfYmFzZWxpbmVfMV92MREAdeoHAA&ccb=9-4&oh=00_AYDNx-CxEIVFBiMp03sbfujXB6cbTYji2exAEEbLZpvhOg&oe=66541774&_nc_sid=1d576d
Author Public Key
npub1uh477768nv9jtwjcgvxa555m9avhgf0g82zgdurnrdsg6arkhtxs425ca2