Vector graphics programs do a lot with paths. Even though the Canvas turns eveything into bitmaps, knowing how to handle paths is very important. This sketch shows some of the basic path syntax used in Canvas programs.
HTML5 Canvas demos by mFragin Licence info here.