(I don't realy know where this topic belongs so please excuse me if this is the wrong place for it)
I recently stubled upon a strange result with the point() funktion when using the alpha channel. I simlified the code and came up with this:
void setup() { size(255, 255); background(0); }
void draw() { noLoop(); for (int y = 0; y < 255; y++) { for (int x = 0; x < 255; x++) { stroke(255,x); point(y, x); } } println("done"); }
You would expect to recieve a color gradiant from block ont the left to white on the right. but the result looks like
this.
Sure you can get around it by using pixels but it is still annoying if you just want to draw something quick and have to loadPixels(), updatePixels(), etc.