Tuesday, February 18, 2014

Paths

  • d: used to start drawing
    • M: move to
    • A: makes an arc
      • has rx and ry to specify the radius in the x and y direction
    • L: makes a line
    • coordinates are placed after each letter to specify where they go
    • Q: makes a Bezier curve which is a line that is pulled by points like a magnet 
      • Quadratic Bezier curves use only one control point
      • Cubic Bezier curves use two control points
    • lowercase letters are used to specify coordinates from where the "pen" was last left off while uppercase letters are for absolute points
    • Z: automatically closes the path

1 comment:

  1. Excellent summary! Now there are two kinds of Bezier curves, yes? Quadratic and cubic. See if next week you can make a post describing the difference between them.

    ReplyDelete