Interesting. They both work, but createShape(PShape.PATH);
definitely renders a better curve. I wonder why?
Also, I got this warning using size(512,512, P2D):
2018-08-31 10:24:49.119 java[70424:4002899] pid(70424)/euid(502) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
What annoys me is that PShape.PATH
is not mentioned at all in the createShape() reference.
One of the following parameters are used as the first parameter: ELLIPSE , RECT , ARC , TRIANGLE , SPHERE , BOX , QUAD , or LINE .
Thanks again to @jb4x and @WakeMeAtThree