#import "@preview/cetz:0.3.0"
#{
let a = (1,0)
let b = (0.12,0.3)
cetz.canvas(length:30%,{
cetz.decorations.coil(cetz.draw.hobby(a,b),amplitude:0.051,segment-length:0.05112,align:"MID")
})
cetz.canvas(length:30%,{
cetz.decorations.coil(cetz.draw.hobby(b,a),amplitude:0.051,segment-length:0.05112,align:"MID")
})
}
This code should produce identical images but the bottom one seems to be problematic. Additionally some combinations make the compiler crash. I have a document where this is the case but cannot make a MWE.
This code should produce identical images but the bottom one seems to be problematic. Additionally some combinations make the compiler crash. I have a document where this is the case but cannot make a MWE.