I've tried to run this on Windows, versions 1.5.1 and 2.0a4 of Processing. I was just trying to draw a line with points, pretty simple, isn't it? Well, when I add an alpha channel to the stroke function, some points are not displayed properly. Could anyone be so gentle to tell me if this code displays four lines on Mac or Linux?
stroke(0,100); // adding an alpha channel uncompletes the line
line(25,20,75,20); // the line function works properly
for(int i=0; i<50; i++){
point(25+i,40);
}
stroke(0);
line(25,60,75,60); // the line function works properly
for(int i=0; i<50; i++){
point(25+i,80); // and a line is drawn this way
}
moreover, if I run just this:
stroke(0,100);
for(int i=0; i<50; i++){
point(25+i,90);
}
nothing is displayed. Should I report a bug, or anyone knows what's going on?