Welcome Guest (Log in)

HHMockup (Perspective fourpoint-distortion)

Images (14) | LC 8+9 (13) | Browser widget (9) | Perspective (4) |
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Hermann Hoch
  • StarStarStarStarStar
  • Stack
  • 1
  • 187 Times
  • 26 February 2018
## v1.6.2 2018-02-26 ... First version on LiveCodeShare (Sample stacks)
(= enhanced version of the stack I used to produce the demos for my LCGlobal talk "Perspective and affine transformations of images" in Nov 2017)

Use it with latest versions of LC 8/9 on Mac/ Win 7+10/ linux(Ubuntu).

The stack contains a *very fast* version of the perspective fourpoint image transformation given in Raspberry Pi stacks collection #85 (pure LC Script, available also here):
JavaScript is used for the lengthy transforms of the imageData and applying a few image filters. Everything else, especially the computation of the "perspective matrix" and all the display is still LC Script.

You can scale, skew, translate and rotate images in single or combined actions and perspective transform images up to screen size.

The perspective transform is also used to show images in a given MOCKUP frame. There is also demo of running a gif (EM's jockey) in such mockup frames.

There are still more details to explore (e.g. expanding the transform of an image horizontally, vertically or both).

You can import your images and export your transformed artwork.
Have fun!

Ajax Loader
Expander triangle
User Comments
Expander triangle