Last updated at 2:24 pm UTC on 3 May 2018
Copied from page 701 of Bob's SuperSwiki.
As you can see from above you can make pretty cool looking jigsaw pieces from Mixed curves.
The cook book.
- Get a paste up morph.
- From playfield options: Turn gridding on.
- From playfield options:
- Show gridding.
- Set gridding scale (here 0 asPoint was used for the origin. 18 asPoint for the scale.)
- From Objects (or Morph menu for Squeaklight) Get a MixedCurveMorph. It will look initially like a bowl.
- From the MixedCurves red halo menu
- select be segmented slopes. (This is so vertexes will snap to grid.)
- select show handles. (You should now have a rectangle with two yellow and two blue handles. Plus all the green triangles for midpoints.)
- click on each of the yellow handles once. (All handles are blue now)
- Pick up the rectanglular mixed curve and put it on the gridded playfield.
- Adjust each of the four corners so they snap to the grid.
- Put them at the basic corners of the puzzle piece.
- You may want to make a copy at this point for use later in making other pieces.
- Now add more points to each side and arrange them as you wish on various grid points.
- four extra points per side will do well.
- Make more pieces.
- Take the pieces off the gridded playfield.
- From the pieces red halo menu
- Make it be smooth curve.
- Remove handles
- You will now have puzzle pieces.
This is a 3.9 project (should work in 3.9 or 3.10).
It allows the knowledgable to turn any morph into a jigsaw puzzle.
Solve the Puzzle to get the morph back.
This updates the previous work (see bellow).
The menu will not be present unless the morph has been made puzzling.
The best way to doget an inspector on the morph and then evaluate:
This will give you a chance to indicate the rough size of a puzzle piece.
After that the morph will allow you to see the puzzle menu items.
Puzzled? will chomp the puzzle into pieces.
How puzzled? will give you another chance to indicate piece size.