Skip to content

Threejs+fabricjs example runs ok on fabricjs version 5 but fails with version 6 #10379

Answered by avnermosh
avnermosh asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I solved the fabricjs version 6 problem by extending the fabricjs.Canvas class and overloading the fabricjs.Canvas._onMouseMove() method.
A correct example of ThreeJS and FabricJS version 6.x (6.5.3) can be seen here
The user can draw on the Renderer element and the freedraw path is shown correctly in the Canvas element.
Thanks for your help.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@avnermosh
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by avnermosh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants