I'm having a little trouble with the fillPatternImage
function
Here is the sample bench: https://codepen.io/adrienreveleau/pen/xxMNJZX
And here's the failure case: https://jsbin.com/dusocukeya/edit?js,output
Despite deep research and several attempts to adjust the offsets parameters, I haven't succeeded in finding a solution!
Could you help me?
Your
konvaImage
has a different size from the original image. So you need to take that into account when calculating patter offset.