In the hope that this will be a considerable boon to mankind, I'm trying to write a script to convert orthogonal ('normal-looking') artwork into any of four isometric views.
The sequence to achieve any of the four views is:
• vertical scale (86.602%)
• shear (30° or –30°)
• rotate (30° or –30°)
The vertical scale and rotate operations look straightforward enough; but the shear needs a transform matrix that is nowhere to be found in Adobe's Javascript documentation. (Or indeed anywhere on the web, so it seems.)
I am not much of a mathematician, and (in England, at any rate) a shear transform matrix would come under the heading of Very Hard Sums.
Can someone with more acquaintance with math help out?
Many thanks.