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
and to generate ones with 2D symmetry use the command
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