I've been studying the book, Getting Started With Processing by Casey Reas and Ben Fry. And im learning custom shapes right now. But I had a question about the vertex function, since the book is so vague on it. Does the vertex() function work like connect the dots or how does it know to draw which line where? because it only uses 1 X and 1 Y value.
P.S. it is an amazing book and anyone new to processing should pick it up right away!