Welcome Guest (Log in)

Jigsaw Puzzle

StarStarStarStarStar
Imagedata (10) | LC 9 (10) | LC 6+7+8 (8) | Graphics (7) | Raspberry Pi (5) | Random (2) |
General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Hermann Hoch
  • StarStarStarStarStar
  • Stack
  • 3
  • 617 Times
  • 04 January 2017
JigsawPuzzle v2c
v2c 2017-01-04 ... removed a bug in the images menu
v2b 2017-01-03 ... removed an incorrect width computation
v2a 2017-01-02 ... first sample stack

The following technique is used:
The pieces are polygon graphics of linear and cubic bezier curves. They are filled with backpattern-images from portions of the whole imagedata. Highlighting is done by setting the ink, shaping the pieces includes random parts: Adjusted is the connection to upper and left neighbour, right and down have randomly chosen in- or out-connectors.

You may
** choose a built-in image or import one.
** choose the width of the basic square of all pieces. This determines the number of pieces. If the image has not appropriate size then it is slightly cropped (the imagedata only).
** choose to allow rotation of the pieces
** choose to collect the 'border' pieces at card's bottomRight.
** choose to indicate a correct location (and correct rotation) of the currently dragged piece.

The stack runs on Mac/Win/Linux using LC 6/7/8/9, and on RaspberryPi using (the for Raspi available) LC 651 or LC 704. All scripts are free for non-commercial use.
Ajax Loader
Tags
Expander triangle
User Comments
Expander triangle