Vector From Angle

A vector of length 1 pointing at an angle.

Node id vector/from-angle

The Vector From Angle node outputs the vector of length 1 at angle, in radians: (cos angle, sin angle).

Inputs

NameTypeDefaultNotes
anglenumber0

Outputs

NameTypeNotes
vectorVec2

Behaviour

  • Directions on the page. Angle 0 points right. The y axis points down, so angles turn clockwise: π/2 points down, π left and 3π/2 up.
  • Default. angle defaults to 0, giving (1, 0).
  • Longer vectors. Use Multiply Vector to give it a length.
  • Sin and Cos: the two components on their own.
  • Lattice: takes vectors as its grid directions.
© 2026 Wirepaint