MrGorf opened this issue on Sep 09, 2006 · 19 posts
ockham posted Sat, 09 September 2006 at 10:13 AM
Try this.
http://ockhamsbungalow.com/Python/UnbendMorph.zip
I don't have any 'live' examples of such morphs, so I don't know
if it behaves just right. It does produce a small change in the
MT, so I know at least that it isn't completely wild!
If the result seems to be backward, try changing the
first minus sign in lines 129-131 to a plus.
In other words, change
Xnew = Xm - (X1-X0)
Ynew = Ym - (Y1-Y0)
Znew = Zm - (Z1-Z0)
to
Xnew = Xm + (X1-X0)
Ynew = Ym + (Y1-Y0)
Znew = Zm + (Z1-Z0)