Right Angle
right-angle()
Draw a right angle between a and b through origin origin
line((0,0), (1,2), name: "a")
line((0,0), (2,-1), name: "b")
// Draw an angle between the two lines
cetz.angle.right-angle(
"a.start",
"a.end",
"b.end",
radius: 1.5
)
origin:
Angle origin
a:
Coordinate of side a, containing an angle between origin and b.
b:
Coordinate of side b, containing an angle between origin and a.
Styling
Styling is the same as the angle function.
Anchors
Anchors are the same as the angle function