Drawing array of curves from PVector

please show your code