14 Nisan 2009 Salı

Assignment1Burcu


i couldn't manage to draw bezier with more than 2 control points.

and i couldn't be sure if it is count to be closed as its not fiiled.

greets, Burcu

1 yorum:

  1. good work!

    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.

    YanıtlaSil