newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: newdep on September 24, 2007, 12:42:18 AM

Title: gs:shear-tag
Post by: newdep on September 24, 2007, 12:42:18 AM
Hi Lutz,



what does gs:shear-tag actualy do?



Norman.
Title:
Post by: Lutz on September 24, 2007, 04:49:33 AM
shear is an affine transform which shifts all x and y coordinates of a shape by a certain factor shx and shy. This is the 2D transformation matrix:


[   1   shx ]
 [  shy   1  ]


Lines are kept streight and parallel by this transformation.



See also here: http://en.wikipedia.org/wiki/Affine_transformation



and here: http://en.wikipedia.org/wiki/Shear_%28mathematics%29



Lutz
Title:
Post by: newdep on September 24, 2007, 10:54:04 PM
thanks ;-)