This repo is no longer maintained. Please use the new AndroidX Shapes library that supports setting corner smoothing similar to Figma. Here is a Medium post that has more details on the new library. Note, this library also is KMP ready!
Simple Jetpack Compose implementation of round rects with smoother corners that match Figma corner smoothing.
Demo
Debug UI
All the maths ported over from JavaScript from this handy approximation: https://github.com/MartinRGB/Figma_Squircles_Approximation