+ 10
Is it possible to apply 3D transforms for the canvas?
The title is self-explanatory.
3 Answers
+ 6
Yes it is possible.
I assume that you are not talking about WebGL here soooo...
For 2D canvas graphics, you should try playing with the canvas transform methods. Although there is no way to get a true perspective transform out of them, you can use shearing (the b and c components of the transform matrix). See Wikipedia to get an idea of what you can do with a shear transform.
Here's the Wikipedia link:
https://en.m.wikipedia.org/wiki/Transformation_matrix#Shearing
+ 6
Thanks Mad Clown!
0
yes