You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm following the Instagram stickers tutorial by William Candillon (Thanks so much for the tutorials!)
I'm just having trouble initializing the matrix values for the different images I have in a canvas.
What I'm trying to do
Save the position of the image in a canvas (along with translation, rotation, and scale factor) in local storage.
So that I can come back to an image and edit the position of the image without having to do it all over again.
The issue
Not sure which values to save and use to initialize the matrix for the image.
Here is my shortened code:
And then this is the canvas:
And this is <Picture>
Beta Was this translation helpful? Give feedback.
All reactions