Learn how to round polygon corners with svg + js on
@observablehq
I was curious to find out how to do this, so I did :)
On the way you'll learn about vectors, drawing svg arcs and circles using cubic bézier, and some geometric thinking, enjoy!
observablehq.com/@daformat/r…