The Balinese Algorithms of Tri Hita Karana

Balinese artists use patterns to represent the traditional concept of Tri Hita Karana (THK), the “three sources of well-being”. Using math and computing, we can learn to “read” THK patterns. It is Bali’s visual code.

Human culture

Organizing materials for weaving, architecture, jewelry etc. using careful planning.

Squares, triangles, hexagons, grids, etc

Nature

Wildness of animals, growth and fertility of plants, turbulence of water, fire, air.

Nonlinear shapes: curls, log spirals, etc.

Spiritual

Combines human shapes like squares with the nonlinear scaling of nature.

Fractals and other scaling shapes