Create a function that modifies a diagram by rounding the corners of a polygon or curve
radius of the corner
Optional
indices of the points to be rounded
function that modifies a diagram
let s = square(5).apply(mod.round_corner(2, [0,2])) Copy
let s = square(5).apply(mod.round_corner(2, [0,2]))
Create a function that modifies a diagram by rounding the corners of a polygon or curve