logoalt Hacker News

voidUpdatetoday at 11:59 AM1 replyview on HN

firefox looks like an SDF (shortest distance to the object), I'm not sure what the chrome one is...


Replies

danbructoday at 12:35 PM

I would assume they are just drawing the outline, not performing any distance calculations, and the differences are just a result of different linejoin choices. [1]

[1] https://www.w3.org/TR/fill-stroke-3/#stroke-linejoin