sure it is closed, the filling only goes between the bezier and a line between each two endpoints, so one can sort of see the three individual parts this way.
to make filling work as you want it, look up beginShape() etc. in the processing reference (http://processing.org/reference/)
a hint: try storing your coordinates in an array, or at least variables, as we will want to animate our curves later on, and then it is good to keep the drawing code independent of the coordinates.
good work!
YanıtlaSilsure it is closed, the filling only goes between the bezier and a line between each two endpoints, so one can sort of see the three individual parts this way.
to make filling work as you want it, look up beginShape() etc. in the processing reference (http://processing.org/reference/)
a hint: try storing your coordinates in an array, or at least variables, as we will want to animate our curves later on, and then it is good to keep the drawing code independent of the coordinates.