Skip to content

iliagrigorevdev/tangram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tangram

Screenshot

Description

The tangram is a dissection puzzle consisting of seven flat shapes, called tans, which are put together to form shapes. The objective of the puzzle is to form a specific shape using all seven pieces, which can not overlap.

How to Play

Click on empty area to show or hide floating tans.

Drag the tan to an empty place to land it.

To rotate the tan drag its corner.

Click the button at the bottom right to see an example.

To zoom, switch to view mode and drag up or down.

Tans automatically snap to the edges, their midpoints and corner points.

When all tans touch each other, a button appears to share with friends.

Run

Open on GitHub Pages

Open on Google App Engine

Built With

three.js, JavaScript 3D library.