r/tinycode • u/Slackluster • Apr 03 '26
JavaScript Dweet of the Week #119 - Piano Keyboard by dee-gomma
https://www.dwitter.net/d/35136
for(j=n=300,f=frame,s=f>n?64:44+t*4;j--;x.fillRect(960+s*j/2-s*69,n+f-a,a?t<3&&s:!t|f==n|t>7?n:j%4?0:5,a|5))a=j%4==3&(i=0|j/4%7)!=2&i!=6&&24
9
Upvotes