Hi @scotato First of all thankyou for making this very useful extension.
I was trying to replicate same algo in swifui and I have some questions in mind.
Could you please provide some insight into how the RATIO was calculated and the reasoning behind the specific values chosen for the switch statement in the radiusFromC function in below code?
https://github.com/scotato/figma-squircle/blob/main/src/squircle.ts
Any mathematical references or design principles that influenced these choices would be greatly appreciated.
Thank you for your time and for sharing your work with the community. I look forward to understanding more about the intricacies of your squircle path calculations.