Here I'm going to post whatever that is interesting for me. All things about programming using JavaScript and ASP.NET Core. And something else.

A blog about ASP.Net Core and JavaScript

Tagged with scale

There are a lot of tutorials, which describe how to perform canvas elements transformations. For example, there is a cool article in the MDN web docs.

But when I tried to create a common function to manipulate the canvas objects, it took a couple of hours to understand how to perform transformations correctly for every canvas object.