bayer
height:
rgba→bool:
const lum=(col[0]*.298912+col[1]*.586611+col[2]*.114478)*col[3]+0*(1-col[3]), p=[i%w,Math.floor(i/w)], bayer=[ 1,9,3,11, 13,5,15,7, 4,12,2,10, 16,8,14,6 ]; return lum*17>bayer[p[0]%4+p[1]%4*4];
gap:
padding:
font-size:
full screen