Kolam Generator

This suite of functions can be used to generate geometric line drawing of Kolams.
593 Downloads
Updated 30 Apr 2012

View License

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 (2024). Kolam Generator (https://www.mathworks.com/matlabcentral/fileexchange/36451-kolam-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Matrix Indexing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated README file to include relevant details.

1.0.0.0