Is there any general function for rounded REGULAR polygons. To be specific, $x^2 + y^2 = 1$ gives a circle ofcourse.
Even-numbered higher powers like $x^{10} + y^{10} = 1$ give a square with rounded corners with the corners becoming sharper as I increase the power.
Are there similar expressions for other regular polygons like triangle with rounded corners or a hexagon.
What I Have thought - I think the rounded square has a simple equation because of the x-y cartesian coordinates so maybe switching to an equilateral triangle-based system could give answers to the rounded triangle or hexagon. Im not sure how to do that though. And of course the question remains for other regular polygons
For octagon, try
$$(x^2+y^2)^m (|x^2-y^2|^n+|2xy|^n)=1$$