Polygonal rounded

Hi,
you want a squircle, I did just for fun this definition but there must be more elegant solutions out there :slight_smile:

shoftgon.gh (14.2 KB)