Kolam Generator

This suite of functions can be used to generate geometric line drawing of Kolams.

You are now following this Submission

This suite of functions can be used to generate a beautiful drawing called as kolam. A Kolam is a geometrical line drawing composed of curved loops, drawn around a grid pattern of dots. In South India, it is widely practised by female Hindu family members in front of their homes.

The programs can be used to create kolams which are bounded by a square of 'n' units.

To generate 'kolams' with 1-dimensional symmetry, you can use the command

M=propose_kolam1D(n);

and to generate ones with 2D symmetry use the command

M=propose_kolam2D(n);

In both case a nxn matrix M is being generated which codes the 'kolam' drawing. (with the notation as in Design16.jpg)

The kolam can be converted to a MATLAB figure using the command

draw_kolam(M)

Cite As

Janardhanan Sivaramakrishnan (2026). Kolam Generator (https://ch.mathworks.com/matlabcentral/fileexchange/36451-kolam-generator), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Updated README file to include relevant details.

1.0.0.0