-
Notifications
You must be signed in to change notification settings - Fork 53
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
save path #1
Comments
Same here, the InkBrush is just amazing, but when I try to save my canvas to PNG (with canvas.toDataURL) the drawing disappears. Great work! |
agreed awesome plugin, learned a lot from it. any progress on this point though? I'm going to look into it over the next couple days. A little tricky as I imagine every "stroke of the brush" needs to be added as a locked fabric group. But it should be possible... |
well.. I did manage to get it working in a minimal way, but to draw all those shapes as fabric objects crashed my browser immediately. So, you can make your own custom brushes as fabric objects I think, but not THESE brushes exactly. If you want to experiment, look in "fabric-brush.js", copy out the brush you're interested in to a stand-alone script, and replace all instances of "ctx" with your fabric canvas, basically. |
Awesome plugin, thanks for developing it!
It would be great if it could be integrated completly with fabric, as after leaving drawing mode the painting dissapears. It has to be with creating svg path, hasn't it?
Very beatiful indeed.
The text was updated successfully, but these errors were encountered: