Processing.org/reference/bitwiseAND.html
Processing.org/reference/inequality.html
if ((BMP[y*8] & shifter) != 0) {
or:
Processing.org/reference/conditional.html
pi.pixels[y] = color((BMP[y*8] & shifter) != 0? white : black);
Processing.org/reference/bitwiseAND.html
Processing.org/reference/inequality.html
if ((BMP[y*8] & shifter) != 0) {
or:
Processing.org/reference/conditional.html
pi.pixels[y] = color((BMP[y*8] & shifter) != 0? white : black);