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

Support for faded edges on brush? #8

Closed
kunal00000 opened this issue Jan 17, 2025 · 1 comment
Closed

Support for faded edges on brush? #8

kunal00000 opened this issue Jan 17, 2025 · 1 comment

Comments

@kunal00000
Copy link

Can support for faded edge be added?
Like this ⬇️

Image
@dulnan
Copy link
Owner

dulnan commented Feb 9, 2025

This would be something that would have to be implemented in your app; this library only handles the "lazy brush" part. What and how you draw is up to you. For example, using 2D canvas it's quite easy to draw using blurry edges by setting ctx.filter = 'blur(20px)'. It's not very efficient though.

@dulnan dulnan closed this as completed Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants