Skip to content

Commit

Permalink
doc: Fix tangent example (#801)
Browse files Browse the repository at this point in the history
Fixes #796
  • Loading branch information
johannes-wolf authored Jan 23, 2025
1 parent 10a3a87 commit 8f2b66d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/basics/coordinate-systems.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -226,17 +226,17 @@ circle((3,2), name: "a", radius: 2pt)
circle((1,1), name: "c", radius: 0.75)
content("c", $ c $, anchor: "north-east", padding: .1)
stroke(red)
line(
// The starting point
// The starting point or element
"a",
// The tangent coordinate
(element: "c", point: "a", solution: 1),
// The center of the circle
"c",
// The other tangent coordinate
(element: "c", point: "a", solution: 2),
close: true
"a",
stroke: red
)
```

Expand Down

0 comments on commit 8f2b66d

Please sign in to comment.