-
Notifications
You must be signed in to change notification settings - Fork 38
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
Congratulations! Amazing script! #4
Comments
You can set stroke style before stroke(), i.e., handwriting.js/handwriting.canvas.js Line 93 in 6d41109
handwriting.js/handwriting.canvas.js Line 140 in 6d41109
e.g.,
You may also add a color selector and set |
Great... It worked like a charm. Now, how can I make the canvas responsive to: width: calc(100vh - 20px); It works visually but pen location and erase button works awkwardly.
|
You can use javascript to set the width and height before calling handwriting.Canvas:
|
@ChenYuHo you did it again! LOVE IT I works beautifully |
I will be teaching some children how to write their first words and this script is exactly what I was looking for.
Thank you so much!
Quick question: How to change the pen or ink color from black (current color) to white?
Thanks
The text was updated successfully, but these errors were encountered: