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

When moving mouse fast the line becomes humongous #11

Closed
jordyvandomselaar opened this issue Aug 12, 2016 · 9 comments · Fixed by #29
Closed

When moving mouse fast the line becomes humongous #11

jordyvandomselaar opened this issue Aug 12, 2016 · 9 comments · Fixed by #29
Milestone

Comments

@jordyvandomselaar
Copy link

As the title says.
When I move my mouse slowly the line is very thin, but when I move it faster it becomes HUGE! How can I fix this?

@jakubfiala
Copy link
Owner

Hey, thanks for letting me know. Got any screenshots of what you mean? The line is meant to get thicker based on mouse speed, in order to create a more realistic "ink-like" look. But it shouldn't be a massive difference.

Have you, by any chance, got an unusual mouse or display? Like a hi-dpi mouse?

@jordyvandomselaar
Copy link
Author

Image: http://prntscr.com/c5v0bz, would it be possible to turn this effect off?
I'm using a regular mouse but the app I'm using this in will get deployed on Ipads

@jakubfiala
Copy link
Owner

Thanks! It would indeed be possible to switch it off, and it's definitely an useful option. I can probably add it by the end of the week, but please feel free to submit a PR!

@jakubfiala jakubfiala added this to the 0.2.1 milestone Aug 15, 2016
@jordyvandomselaar
Copy link
Author

Thank you! I'll see what I can do :D

@teacoat
Copy link

teacoat commented Jan 30, 2017

Hey any word on this?

@jakubfiala
Copy link
Owner

@teacoat completely forgot about this. I think I've got a nice bunch of updates lined up already, so might fix this and make a release soon.

@jakubfiala
Copy link
Owner

@jordyvandomselaar @teacoat this is now fixed in v.0.2.3, available on npm right now 💥

to disable the adaptive stroke width, you can just do:

myAtramentInstance.adaptiveStroke = false;

@jordyvandomselaar
Copy link
Author

You're awesome!

@teacoat
Copy link

teacoat commented Mar 5, 2017

@jakubfiala Just saw this, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants