I have this book teaching me processing and it has this section on bitwise operators, but I can't get any of them to work correctly. Here is the XOR one, for example. The expected output is on the following image:
But the actual output is:
I have copied everything correctly, as far as I can tell. Processing 2.0b7. I can include the other examples' (namely AND and OR) images if things aren't clear enough. Thanks in advance.