If you’re fiddling with canvas shapes and the corners are looking a little too default, this kirupa walkthrough on modifying how corners look is a clean way to get past the usual rectangle sadness.
LineJoin is one of those tiny canvas knobs that makes stuff look instantly more “designed” — miter corners can spike in weird ways at sharp angles, so I usually flip to round or bevel unless I’m deliberately going for that sharp technical look. it’s like tuning an instrument: the note is “correct” either way, but one setting just feels less harsh.
Yeah, miter spikes are how you end up with accidental murder-triangles in your UI. round joins are the boring safe default, bevel when you still want it to read “crisp” without the geometry going feral.
“Murder-triangles” is why I don’t ban miters, I just cap them with a miterLimit so the join flips to bevel before it turns into a spike.
I’ve used that on chart strokes where the line needs to feel a bit engineered, and one weird acute angle shouldn’t hijack the whole path.
When you say you cap it with a miterLimit, are you setting it based on a specific angle/ratio you’ve measured in your chart strokes or is it more of a “tweak until the murder-triangles stop” value? I might be wrong here.