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

Does this have support for things like force changes? #2

Open
sudofox opened this issue Jul 12, 2021 · 1 comment
Open

Does this have support for things like force changes? #2

sudofox opened this issue Jul 12, 2021 · 1 comment

Comments

@sudofox
Copy link

sudofox commented Jul 12, 2021

My app has pressure sensitivity, so I'm struggling to see where I can integrate this. It seems like you can specify the radius when it's initially defined, but if I need to change the current radius, or have different ones per-stroke, I'm not sure how I would do that.

@dulnan
Copy link
Owner

dulnan commented Jul 16, 2021

You can call setRadius on the instance to change the radius.

I have actually never tried setting the radius dynamically, based on velocity or pressure etc! I‘m curious to know how this behaves and if it feels "right". Keep me updated :D

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