Thomas Brierley
@tomx0r
ID: 1398270848201601025
28-05-2021 13:33:26
25 Tweet
142 Followers
2 Following
#hackernews Avatars in 357 bytes Deterministic avatar generator from username seeds with an xorshift32. Generative concepts used were inspired by and derived from dweets from Frank Force π» news.ycombinator.com/item?id=306681β¦
A tiny windy tree by Thomas Brierley and me! π¨π³ dwitter.net/d/26208 #javascript f=(X,Y,Z,A)=>x.fillRect(X,Y,w=Z<.3?4*Z:Z,w,Z>.2&&f(X+Z*S(A),Y-Z*C(A),Z*.95,A+C(9*t/Z+n/Z+2*t+2*n)/Z/8),Z*3%1>.8&&f(X,Y,Z*.8,A+9*Z%2-1,n++),x.fillStyle=`#${6*Z<<5}`);c.width=320;f(160,200,11,n=0)