---
title: 'Tangram Puzzle: Geometry & Applications'
url: https://www.emergentmind.com/topics/tangram
type: topic
---

# Tangram Puzzle: Geometry & Applications

Tangram is a classic dissection puzzle in which seven polygonal pieces are arranged to exactly cover a target silhouette without overlap. In formal geometric terms, it is a problem of deciding whether a fixed set of polygons can be placed in the plane so that their union is a given target polygon, with rotation and reflection allowed but scaling disallowed [1407.1923]. The standard set consists of five isosceles right triangles, one square, and one parallelogram, and it can be modeled as a partition of sixteen identical right isosceles triangles with side lengths \(1,1,\sqrt{2}\) [2006.09698]. Beyond recreation, tangram has become a technical object in combinatorial geometry, cognitive science, multimodal reasoning, and robotics [2602.05570].

## 1. Classical form and geometric representation

The standard tangram set contains two small triangles with legs of length \(1\), one medium triangle with legs of length \(\sqrt{2}\), two large triangles with legs of length \(2\), one unit square, and one parallelogram with side lengths \(1\) and \(\sqrt{2}\) and acute angle \(\frac{\pi}{4}\) [2006.09698]. A tangram figure is any polygon that can be dissected into isometric copies of these seven tans, with the interiors of the pieces pairwise disjoint. In the usual geometric model, every tangram has area \(8\), and when the resulting figure is a simple polygon its interior angles are integer multiples of \(\frac{\pi}{4}\) [2006.09698].

A standard mathematical reduction treats the seven tans as unions of sixteen identical right isosceles triangles. This reduction is important because it places tangram in a common combinatorial universe with related dissection puzzles such as Sei Shōnagon Chie no Ita, and it explains why tangram figures inherit a restricted set of admissible edge directions and angle patterns [1407.1923]. A plausible implication is that much of tangram theory is best understood as a constrained tiling problem on a rotated square lattice rather than as a free-form polygon assembly problem.

Historically, the puzzle is of anonymous origin; one account notes that the first known reference in literature is from 1813 in China [1407.1923]. In modern work, the same seven-piece construction is also the canonical substrate for target silhouettes representing animals, people, letters, and objects, which is why tangram remains useful as both a mathematical and cognitive testbed [2505.11818].

## 2. Enumerative geometry and classification results

The most classical finite result is the convex classification. Sixteen identical isosceles right triangles can form exactly \(20\) convex polygons, but the standard seven-piece tangram can realize only \(13\) of them [1407.1923]. Those \(13\) convex tangram figures consist of one triangle, six quadrangles, two pentagons, and four hexagons [2006.09698]. This places the standard tangram below the maximum expressive power of seven-piece dissections of the same sixteen triangles: Sei Shōnagon Chie no Ita realizes \(16\) convex polygons, a constructed seven-piece puzzle realizes \(19\), no seven-piece puzzle realizes all \(20\), and \(11\) pieces are necessary and sufficient to realize all \(20\) [1407.1923].

The pentagonal case is the last major finite classification problem for simple tangram polygons. It has been solved completely: there are exactly \(53\) simple pentagonal tangrams up to isometry, comprising \(2\) convex pentagons, \(20\) non-convex lattice pentagons, and \(31\) non-lattice pentagons [2006.09698]. In the lattice case, all vertices lie in one lattice, whereas in the non-lattice case the pentagon can be decomposed into convex pieces whose lattices differ by a rotation of \(\frac{\pi}{4}\) [2006.09698]. This shows that tangram pentagons are not merely a subset of convex classifications; they expose a deeper distinction between single-lattice and two-lattice constructions.

For \(n \ge 6\), the situation changes qualitatively. The families of all \(n\)-gonal tangram figures are either infinite or empty [2006.09698]. This suggests a sharp structural transition: low-sided polygons admit exhaustive classification, whereas higher-sided polygon families typically admit continuous deformation parameters.

| Mathematical class | Count |
|---|---:|
| Convex polygons realizable by 16 identical isosceles right triangles | 20 |
| Convex tangram figures | 13 |
| Simple pentagonal tangrams | 53 |

## 3. Tangram in cognition, naming, and conceptualization

Tangram silhouettes are intrinsically ambiguous, and that ambiguity has made them a long-standing instrument in psycholinguistics and cognitive science. In tangram naming settings, different observers can conceptualize the same shape as a “crab,” “sink,” “space ship,” “turtle,” or “person,” and dialogue-based tasks study how partners converge on shared references for such abstract figures [2311.05851]. In one model-model version of the Tangram Naming Task, two agents see the same six tangram shapes under different placements and rotations and must agree on names through language alone; the reported communication accuracy was above the chance level of \(0.166\), with an initial value of \(0.270\) and a statistically significant increase to \(0.288\) after incremental learning on successful episodes \((t=2.89, p<0.01)\) [2311.05851].

Large-scale annotation work has turned this ambiguity into a quantitative resource. KiloGram contains \(1{,}016\) distinct tangram silhouettes, including \(1{,}004\) scanned and vectorized shapes and \(12\) canonical tangrams, together with \(13{,}404\) annotations, whole-shape descriptions, part segmentations, and part labels [2210.11465]. The dataset makes it possible to measure shape naming divergence, part naming divergence, and part segmentation agreement, and it shows that tangram interpretation is both semantically rich and structurally variable. This suggests that tangram is not merely a whole-shape recognition problem; it is also a part–whole abstraction problem.

SceneGram adds explicit scene context to this paradigm. It pairs \(37\) tangrams from KiloGram with \(11\) scene conditions, yielding \(407\) items and \(4{,}070\) human annotations, and shows that scene context systematically shifts conceptualization toward scene-typical labels while preserving substantial variability [2506.11631]. A bathroom context increases labels such as “sink,” a beach context favors “crab,” and a mountain context favors “mountain.” Multimodal LLMs in the same setting exhibit some context sensitivity, but they do not reproduce the richness and variability of human conceptualizations and often label the scene instead of the tangram [2506.11631].

## 4. Tangram as a benchmark for multimodal spatial and geometric reasoning

Several recent AI benchmarks use tangram or tangram-like constructions to isolate geometric competence. One benchmark named “Tangram” evaluates geometric element recognition in large multimodal models using \(1{,}080\) diagrams and \(4{,}320\) visual-question-answer pairs about letters, triangles, circles, and line segments. The best closed-source configuration, GPT-4o with zero-shot chain-of-thought, achieved \(56.8\%\) overall accuracy, whereas human-student and human-expert baselines were \(93.6\%\) and \(99.5\%\), respectively [2408.13854]. Here, “Tangram” functions as a low-level perception benchmark rather than a seven-piece assembly task, but its motivation is directly analogous: geometric reasoning fails if diagram perception fails.

TangramPuzzle turns the classical puzzle itself into a geometry-grounded benchmark for compositional spatial reasoning. It contains \(668\) unique tangram configurations and \(1{,}336\) problem instances, formalized in a symbolic Tangram Construction Expression that specifies target outlines, initial and final piece states, and adjacency graphs exactly [2601.16520]. In Outline Prediction, Gemini 3-Pro reached \(98.65\%\) accuracy with \(0\%\) invalid outputs; in End-to-End Code Generation, Gemini 3-Pro achieved a Validation Pass Rate of \(22.60\%\) and a Success rate of \(21.56\%\), while almost all other models had Validation Pass Rate \(\approx 0\) and Success \(\approx 0\) [2601.16520]. The reported failure mode is consistent: models often match the target silhouette while violating rigid-body constraints, overlapping pieces, or distorting piece geometry.

TangramSR pushes the benchmark from symbolic composition to continuous geometry. Each piece is represented by a pose vector \(\theta = (p,a,s)\), where \(p \in [0,10]^2\) is position, \(a\) is angle, and \(s>0\) is scale, and correctness is measured by polygon IoU [2602.05570]. Across five representative VLMs, the average IoU is about \(0.41\) on single-piece tasks and about \(0.23\) on two-piece composition; a training-free verifier–refiner loop using in-context learning and reward-guided feedback raises medium-triangle IoU from \(0.63\)–\(0.65\) to \(0.932\) without retraining [2602.05570]. The paper interprets this as evidence that current VLMs recognize geometric patterns semantically but do not natively compute with geometry in a continuous metric sense.

A broader spatial benchmark, STARE, places tangram puzzles beside cube-net folding as integrated spatial reasoning tasks. Its tangram instances ask whether a set of pieces can exactly fill a \(3\times 3\) or \(4\times 4\) board, optionally with textual assembly steps and intermediate visual simulations. Models perform close to random chance, whereas humans achieve \(87.5\%\) without visual simulation and \(94.0\%\) with visual simulation; tangrams are also the task on which humans show the largest reduction in response time when intermediate visual states are provided [2506.04633]. A plausible implication is that tangram remains one of the clearest operational probes of multi-step visual simulation.

## 5. Robotic assembly and transfer learning from tangram structure

Tangram assembly has also become a benchmark for robotic reasoning, planning, and manipulation. In MRChaos, the robot starts from known, separated locations of the seven standard pieces, receives only a silhouette prompt \(I_s\), and must place pieces sequentially in a fixed order from largest to smallest [2505.11818]. The task is modeled as an MDP with observation \(o_t=(I_s, I_{tc})\), action \(a_t=(x_t,y_t,\theta_t)\), and a vision-based reward
\[
r_t = \frac{|p_t \cap p_t'|}{|p_t'|},
\]
where \(p_t\) is the placed piece’s occupied pixels and \(p_t'\) is its target region [2505.11818]. Training uses PPO in PyBullet with a two-stage curriculum; in simulation, MRChaos achieves \(88.7\%\) final coverage on random composites and \(73.6\%\) on unseen H-Fiendish tangram objects, and on the real robot it reaches \(83.5\%\) on Random and \(62.4\%\) on H-Hard [2505.11818]. The same framework also transfers to cutlery and soda arrangements.

A different line of work uses tangram trajectories as a source of visual pre-training. The Tangram dataset in this setting contains \(388\) unique puzzles, \(776\) human solution trajectories, and more than \(10{,}000\) binary snapshots, from which the authors define a completeness contrast loss over intermediate states and a puzzle meaning loss mapping final states to \(50\)-dimensional GloVe embeddings [2112.06113]. The resulting \(112\)k-parameter convolutional feature extractor improves state ranking in folding clothes and room-layout evaluation and facilitates convergence in few-shot handwriting tasks such as Omniglot and Multi-digit MNIST [2112.06113]. This suggests that the tangram solution process provides supervision not only for end-state recognition but also for progress estimation and aesthetic ordering.

Taken together, these results position tangram as a robotics-friendly abstraction of object assembly: the pieces are rigid, the target is specified by silhouette, and success depends on precise geometric placement rather than semantic recognition alone [2505.11818]. The same structure makes tangram useful as a source domain for low-resolution configuration learning [2112.06113].

## 6. Extended meanings, metaphors, and homonyms

The term “tangram” has acquired several specialized meanings beyond the classical dissection puzzle. In combinatorics on words, a tangram is a finite word in which every letter occurs an even number of times; such a word can be cut into pieces and rearranged into two identical words, and the paper “4-tangrams are 4-avoidable” proves \(t(3)=t(4)=4\) for the minimum alphabet size needed to avoid tangrams with cut number at most \(3\) or \(4\) in an infinite word [2502.20774]. This is a terminological extension rather than a geometric one, but it preserves the underlying notion of decomposing and reassembling structured pieces.

In mathematical physics, “The 5d Tangram” describes a tessellation framework for 5d SCFTs in which rigid brane-web building blocks correspond to primitive T-cones and locked superpositions, and different tessellations of a Generalized Toric Polygon correspond to different cones of the extended Coulomb branch [2411.01510]. In measurement-based quantum computation, a tangram-like puzzle maps Clifford circuits to placements of colored polyomino blocks on a square-grid cluster state, so that correct placements implement valid MBQC patterns while more compact placements correspond to lower-overhead embeddings [2210.11465]. In both cases, the word denotes compositional assembly under strict local constraints.

The name has also been adopted for systems in which heterogeneous components are stitched together efficiently. One “Tangram” is an LLM serving system for non-uniform KV cache compression that uses Deterministic Budget Allocation, Head Group Page, and Ahead-of-Time Load Balancing to improve throughput by up to \(2.6\times\) while preserving model accuracy [2606.06302]. Another is a cloud–edge video analytics system that stitches variable-size patches into fixed-size canvases and uses online SLO-aware batching, reducing bandwidth consumption by up to \(74.30\%\) and computation cost by up to \(66.35\%\) while keeping SLO violations within \(5\%\) [2404.09267]. These homonymous uses do not refer to the seven-piece puzzle directly, but they retain the idea of constrained composition from smaller parts.

Across these domains, the classical tangram persists as more than a recreational artifact. It is a rigorous dissection problem, a finite classification problem in polygonal geometry, an instrument for studying naming and common ground, a benchmark for continuous and compositional spatial reasoning, and a template for assembly-oriented abstractions in robotics and other computational settings [2006.09698].

Source: https://www.emergentmind.com/topics/tangram