I'm experimenting with JS canvas, trying to create pan and zoom effect. I've got the pan working. I've also got the zoom working but with a little help from SO. The zoom effect seems much more complicated than pan. Even though I've got a working code, I don't fully understand how it works, but I want to!
I don't have any problem in the code. I'm not trying to improve anything. I just want to know how the code works. Am I allowed to post a question where I want my code explained?
If not, can anyone lead me to somewhere where I can post this question or read up on the subject?