How to draw pixel at specific location on the buffer?

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);

1 Like