cetz
cetz copied to clipboard
draw: Function for finding closest point
Adds a new element find-closest-point
that computes the closest point between a reference point and one or more elements.
This implementation could be used as a starting point for implementing distance based sorting of intersections for #667.