Use the "Previous" and "Next" buttons to navigate the models.
Use the mouse and arrow keys to reproduce the shape of the
model with all the 7 pieces of the tangram.
The pieces cannot overlap.
You automatically get a message when you get the right answer.
To create your own model, compose your shape with the pieces.
Then use the "Get Code" button and copy the code (it represents your new model).
To load your new model, use the "Enter Code" button and enter your code.
Goal
The goal of this game is to reproduce the shape of the model
using all the 7 pieces of the tangram.
The pieces cannot overlap.
Controls
Use the mouse to move the pieces.
Use the arrow keys to rotate the pieces.
Buttons
Previous: shows the previous model.
Next: shows the next model.
Get Code: gets the code that corresponds to your current position.
Enter Code: loads the model that corresponds the code you enter.
Checkboxes
Small Rotations: when selected, rotations are 15° instead of 45°.
Snapping
The tangram pieces have snapping points.
When you drop a piece, if a snapping point of the dropped piece
is close enough to the snapping point of another piece, the dropped
piece will automatically move so that the two snapping points overlap.
It's a little hard to explain, but it's easy to understand when you try it out.
A dropped piece will prefer to snap to the pieces that were last moved.
The corners of the pieces are all snapping points.
There are additional snapping points on the sides of the pieces:
Small triangle: 1 point on each side.
Medium triangle: 3 points on the hypothenuse, 1 point on the small sides.
Large triangle : 3 points on each side.
Square : 1 point on each side.
Diamond : 3 points on the large sides, 1 point on the small sides.