Skip to content
Tutorials Center
My learning

Topics

Lesson 12 of 36 ยท Shapes and Paths

Bezier Curves and Handles Explained

Understand cubic Bezier curves, anchor points and direction handles in Illustrator, with a runnable de Casteljau calculator to see how handles shape a curve.

Every curved path in Illustrator, and in SVG, fonts and CSS animations, is a cubic Bezier curve. Once you know the four numbers that define one, handles stop being mysterious.

The four control points

A cubic Bezier segment between two anchor points is defined by:

  1. P0: the start anchor point.
  2. P1: the end of the start point's outgoing handle.
  3. P2: the end of the end point's incoming handle.
  4. P3: the end anchor point.

The curve starts at P0 heading towards P1, bends, and arrives at P3 coming from the direction of P2. It does not usually touch P1 or P2. They pull the curve like magnets: the longer the handle, the stronger the pull.

flowchart LR
  P0["P0 start anchor"] -. handle .-> P1["P1 control"]
  P2["P2 control"] -. handle .-> P3["P3 end anchor"]
  P0 --> P3

The curve runs from P0 to P3; P1 and P2 are the handle tips you drag in Illustrator.

Smooth vs corner points

At a smooth point the two handles form a straight line, so the path flows with no kink (the tangent is continuous). The handles can have different lengths. At a corner point the handles point in different directions, or one handle is missing (zero length), creating an angle or a straight/curved mix.

Handle rules of thumb

  • Handles are tangents: they point along the path's direction at the anchor.
  • Typical length: about one third of the segment's width. A circle quadrant uses approximately 0.5523 times the radius (a famous constant).
  • Horizontal or vertical handles at curve extremes keep curves tidy.
  • Shorter handles make flatter, tighter curves; longer ones make rounder, bulgier curves.

The maths: de Casteljau

For a parameter t from 0 to 1, you can find a point on the curve by repeatedly interpolating between the control points. This is exactly how renderers evaluate the path.

JS Stand-in: point on a cubic Bezier

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The sample points trace a smooth S from (0, 0) to (100, 100).

Making a circle from four Beziers

A circle needs four cubic segments with handle length k * radius where k is about 0.5523. The next stand-in verifies how close that comes to a true circle.

JS Stand-in: circle from four curves

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The error is a few hundredths of a percent, invisible to the eye. This is why Illustrator's circle has only four anchor points.

Editing handles in Illustrator

  • Direct Selection tool (A): click an anchor point to reveal its handles, then drag a handle tip.
  • Anchor Point tool (Shift + C): drag from a smooth point to separate handles, or click to retract them.
  • Move a whole point, with both handles, using arrow keys for fine nudges.
  • Hold Shift while dragging a handle to constrain to 45 degree steps.
  • Hold Alt/Option while dragging one handle to move it independently of the other.

If a curve has a bump, the culprit is almost always a handle that is not parallel to the path direction at that point, or one that is far too long.

SVG path data uses the same idea: C x1 y1, x2 y2, x y is a cubic curve with two control points. Illustrator's handles become those numbers when you export.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. How many points define a cubic Bezier segment?

    Two anchor points and two handle tips make four points.
  2. 2. What does a longer handle do?

    Handle length controls how strongly the curve is pulled towards the handle tip.
  3. 3. What defines a smooth point?

    Collinear handles produce a continuous tangent, so the path flows without a kink.
  4. 4. Why can a circle be drawn with only four anchor points?

    The 0.5523 constant keeps the error far below visible levels.

Summary

  • A cubic Bezier segment uses two anchors and two handle tips.
  • Handles are tangents; length controls how strongly they pull.
  • Smooth points have collinear handles, corners do not.
  • Handles you drag in Illustrator translate directly into SVG path data.

Next: Editing Paths