Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superelliptical shape of corners #9

Closed
yuraiz opened this issue Aug 3, 2022 · 1 comment
Closed

Superelliptical shape of corners #9

yuraiz opened this issue Aug 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@yuraiz
Copy link
Contributor

yuraiz commented Aug 3, 2022

My suggestion is use superellipses instead of circles to crop corners

That corners looks more smooth and used in macos, ios and some physical devices

Here's an example screenshot with edited fragment shader
Example screenshot

Here's screenshots with different superellipses
Superellips 1

Superellips 2
regular circle is subset of superellipse
Circle

In settings it can be like corner smoothing parameter in figma
Smoothing

I can finish this by myself if it's useful feature

@yilozt yilozt added the enhancement New feature or request label Aug 3, 2022
@yilozt
Copy link
Owner

yilozt commented Aug 3, 2022

It's awesome feature! please open pull request when it is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants