Kolam Generator
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)
引用
Janardhanan Sivaramakrishnan (2024). Kolam Generator (https://www.mathworks.com/matlabcentral/fileexchange/36451-kolam-generator), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!