The Cane Weavers of Tripura
Symmetry, Tessellations & Algorithmic Thinking

The Cane Weavers of Tripura

The mathematics of weaving patterns — symmetry, tessellation, and algorithmic thinking.

Symmetry, Tessellations & Algorithmic Thinking12-Month Curriculum 10h

The Story

The Pattern

In the Riang villages of northern Tripura, every house has a musuk — a woven bamboo and cane wall panel, so tightly constructed that it keeps out rain, wind, and insects. From a distance, a musuk looks like a simple wall. Up close, it is a masterpiece of geometry.

Hamjabai Riang was fourteen and had been weaving cane since she was eight. Her grandmother, Buisu, could weave a musuk panel in a single day — 2 metres wide, 3 metres tall, every strip interlocking at exact right angles, creating a pattern that was both structural and beautiful.

"Each strip goes over two, under one, over two, under one," said Buisu, her fingers moving too fast for Hamjabai to follow. "If you change the count — over three, under two — you get a different pattern. Every combination has a name."

Hamjabai had noticed something. The patterns were not random. They had symmetry — the same motif repeated across the panel in a regular grid. Some patterns looked the same if you flipped them. Others looked the same if you rotated them 90°. Some looked the same under both operations.

"Buisu," she said, "are these patterns mathematics?"

"They're weaving," said Buisu. "If your school wants to call it mathematics, that's the school's business. I call it knowing which strip goes where."

The Binary Logic of Weaving

Hamjabai's mathematics teacher, Sir Debabrata, saw her notebook of weaving patterns and got excited.

"This is binary," he said. "Every intersection in the weave is a choice: the warp strand goes over the weft strand, or under it. Over = 1. Under = 0. The entire pattern can be written as a grid of 1s and 0s."

He showed her a simple 4×4 pattern:

1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1

"That's a plain weave — the simplest pattern. Over-under-over-under. Now look at your grandmother's musuk pattern:"

1 1 0 1 1 0 0 1 1 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 0 1 1 0 1 1 1 0 1 1 0 1

"Over-over-under repeating. This is a twill weave — the same structure used in denim jeans and gabardine fabric. Your grandmother independently invented the same weaving algorithm used in textile factories worldwide."

Symmetry Groups

Sir Debabrata taught Hamjabai about the four symmetry operations: - Translation: slide the pattern left/right or up/down - Rotation: turn the pattern 90°, 180°, or 270° - Reflection: flip the pattern across a horizontal or vertical axis - Glide reflection: slide + flip combined

"Every repeating pattern in a flat surface belongs to one of exactly 17 symmetry groups," he said. "Mathematicians proved this in 1891. There are 17, and there can never be more or fewer. The Alhambra in Spain contains all 17. And your grandmother's musuk panels contain at least 7 that I can identify."

Hamjabai was stunned. "Buisu knows 7 out of 17 possible symmetry groups?"

"She doesn't know them by name. But her hands know them. Every time she chooses a pattern, she is choosing a symmetry group — a mathematical structure — without calling it that."

Algorithmic Weaving

Hamjabai realised that weaving instructions were algorithms. An algorithm is a set of precise, repeatable steps that produce a specific result. Her grandmother's instructions — "over two, under one, shift right by one on the next row" — were exactly that.

She wrote a Python program that took a weaving instruction (like "over 2, under 1, shift 1") and generated the full binary grid. Then she added colour: 1s in brown (cane colour), 0s in green (bamboo colour). The screen showed a pattern identical to Buisu's musuk.

"Buisu!" she called. "Look — I made your pattern on the computer!"

Buisu peered at the screen, then at her musuk on the wall, then back at the screen. "Hmm," she said. "The computer's version is uglier. But the pattern is correct."

That was the highest praise Hamjabai could imagine.

The end.

Try It Yourself

Choose your level. Everyone starts with the story — the code gets deeper as you go.

Story Progress

0%

Ready to Start Coding?

Here is a taste of what Level 1 looks like for this lesson:

Level 1: Explorer — Python
# Weaving Pattern Generator
over, under, shift = 2, 1, 1
width, height = 20, 10

for row in range(height):
    pattern = []
    offset = (row * shift) % (over + under)
    for col in range(width):
        pos = (col + offset) % (over + under)
        pattern.append("█" if pos < over else "░")
    print("".join(pattern))

This is just the first of 6 coding exercises in Level 1. By Level 4, you will build: Build a Weaving Pattern Generator.

Free

Level 0: Listener

Stories, science concepts, diagrams, quizzes. No coding.

You are here

Enrolled

Levels 1-4

Python, NumPy, Matplotlib, real projects, mentorship.

Sign Up Free

Stay Updated

Join Waitlist

Get notified when enrollment opens for your area.

Notify Me

Level 0 is always free. Coding levels (1-4) are part of our 12-Month Curriculum.