## Learning the vector graphics fundamentals

Generating vector graphics involves formally describing a drawing in mathematical terms by means of geometrical primitives, graphics state transformations, and simple drawing instructions. In this context, a drawing consists of *paths*, which are made of one or more line segments connected by two or more *anchor points*. Paths are to be delimited in our *canvas* (that is, the `View`

we draw into) using Cartesian coordinates, which are pairs in the form of (x,y) where x and y denote the horizontal and vertical deviations respectively from a nominal point. We may speak of absolute coordinates when the nominal (0,0) point is fixed in space; relative coordinates are those that are relative to some other arbitrary points. An (x,y) pair can be also understood as a complex number with *x* representing the real and *y* the imaginary part, thus simplifying mathematical operations in certain contexts. To represent coordinates in SuperCollider, we use instances of `Point...`