Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Isometric transformation

$
0
0

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.


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>