LiveCode

Hermann Hoch

Mathematician (retired), Univ. Duisburg-Essen

Affine and Perspective Transforms of graphics and images

Nov 16th @ 4pm GMT

LC Builder and HTML5/javascript have effective and easy to use tools for applying affine transforms (rotate, scale, skew and translate) to graphics and images. A basic explanation of such transforms and moreover ‘perspective 4-point transform’ is given.

How to apply these transforms in LC Script, LC Builder and HTML5/javascript is then shown in a compact form.

The non-trivial problem with such transformations is to get/ set an ‘appropriate small’ bounding box such that the objects are not clipped or, to the other extreme, are not consuming all clicks with their transparent parts. How to solve this problem is the main part of the talk.

The impact of the talk shall try to explain more the principle than the detailed math. Of course the solution contains medium advanced math and so there will be five minutes of special ‘mathy’ explanations for the true lovers (of math).

Heather LaineHermann Hoch