Fail case for `bezier-through`
Jollywatt opened this issue · comments
The maths for bezier-through
sometimes fails. I don't have much insight to add except this MWE:
#import "@preview/cetz:0.3.1"
#let verts = (
(0,0),
(1,0),
(2,2),
)
#cetz.canvas({
cetz.draw.bezier-through(..verts)
verts.map(v => {
cetz.draw.circle(v, radius: 2pt, fill: red, stroke: none)
}).join()
})
