I'm trying to create a arc with createShape() and i'm getting confused because the arc is placed in a wrong location. Here is a snippet that shows what i getting:
void setup() {
size(150,150,P2D);
arc(10, 10, 50, 50, 0, HALF_PI);
// This should draw the same arc but ...
PShape p = createShape(ARC, 10, 10, 50, 50, 0, HALF_PI);