Hello @rroarrg,
Here is a related topic:
Try different renderers:
int a = 10;
void setup()
{
size(600, 600); //Default
//size(600, 600, JAVA2D); //Default and same as size(600, 600);
//size(600, 600, P2D);
//size(600, 600, P3D);
//size(600, 600, FX2D);
//noSmooth(); // Try this
// Curious:
println(sketchRenderer());
print(JAVA2D);
}
void draw()
{
copy(a, a, width-a*2, height-a*2, 0, 0, width, height);
circle(width/2, height/2, 100);
//copy(a, a, width-2*a, height-2*a, 0, 0, width, height);
}
I don’t have an answer to why this happens with JAVA2D.
References:
https://processing.org/reference/size_.html
:)