This is a simple spike showing how to rotate a div "by hand". It then takes the basic rotation example, and shows how to rotate each pixel of an image on a canvas.
Interactive breakdown of the maths: Desmos
This is a simple spike showing how to rotate a div "by hand". It then takes the basic rotation example, and shows how to rotate each pixel of an image on a canvas.
Interactive breakdown of the maths: Desmos