I would like to know how to draw these kolams/rangoli programmatically. in any language, what kind of math is required? They are fascinating works of symmetry, thus I feel it should be possible, but don't know where to start.
2026-03-28 00:49:28.1774658968
Can these kolams/rangoli be drawn mathematically in any programming language?
413 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in GEOMETRY
- Point in, on or out of a circle
- Find all the triangles $ABC$ for which the perpendicular line to AB halves a line segment
- How to see line bundle on $\mathbb P^1$ intuitively?
- An underdetermined system derived for rotated coordinate system
- Asymptotes of hyperbola
- Finding the range of product of two distances.
- Constrain coordinates of a point into a circle
- Position of point with respect to hyperbola
- Length of Shadow from a lamp?
- Show that the asymptotes of an hyperbola are its tangents at infinity points
Related Questions in FRACTALS
- does the area converge?
- "Mandelbrot sets" for different polynomials
- Is the Mandelbrot set path-connected?
- Does the boundary of the Mandelbrot set $M$ have empty interior?
- What sort of function is this? (Logistic map?)
- effective degree for normalized escape-time of hybrids
- Julia set of $x_n = \frac{ x_{n-1}^2 - 1}{n}$
- A closed form for the sum $\sum_{s=0}^{n-1} e^{\frac{s(s+1)}{2}i\theta}$?
- Given a real number $d , (1<d<2)$, is there a fractal with fractal dimension $d$?
- How can one write a line element for non-integer dimensions?
Related Questions in SYMMETRY
- Do projective transforms preserve circle centres?
- Decomposing an arbitrary rank tensor into components with symmetries
- A closed manifold of negative Ricci curvature has no conformal vector fields
- Show, by means of an example, that the group of symmetries of a subset X of a Euclidean space is, in general, smaller than Sym(x).
- How many solutions are there if you draw 14 Crosses in a 6x6 Grid?
- Symmetry of the tetrahedron as a subgroup of the cube
- Number of unique integer coordinate points in an $n$- dimensional hyperbolic-edged tetrahedron
- The stretch factors of $A^T A$ are the eigenvalues of $A^T A$
- The square root of a positive semidefinite matrix
- Every conformal vector field on $\mathbb{R}^n$ is homothetic?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?

There is a research paper from Kiwamu Yanagisawa and Shijiro Nagata: "Fundamental Study on Design System of Kolam Pattern" e.g. here https://www.researchgate.net/publication/237442288_Fundamental_Study_on_Design_System_of_Kolam_Pattern
There is a set of 16 (sic) basic curve shapes at / around each dot which can be represented with the hexadecimal numbers
0x0..0xF.Table 1. 16 Constituent units of Kolam Patterns, corresponding to hexadecimal numbers.
The shapes are called with names (circle, drop, saddle, pupil, fan and diamond) and can be described by a matrix of 4 bits (0, 0, 0, 0) to (1, 1, 1, 1). The least significant bit is the one which is defined for the lower, right corner in a 2*2 convolution. You have to slant this matrix 45° into the right hand direction, so the center point of the convolution is on the diagonal of the resulting 1-3-1 diamond shape. The LSB (Bit 0) is then the lower corner, Bit 1 is the left corner, Bit 3 is the right corner and MSB (Bit 4) is the top corner of this slanted 2x2 matrix or 1-3-1 diamond shape. Each bit signifies either no connection (tangent) or a crossing of the lines surrounding the 5 points. So with the four potential connections around each point we can create exactly 16 different elemental shapes which have designated names and symmetrical / mirror properties.
I tried to add a description of the individual shapes in Table 1 and its rotational and mirror symmetrical properties in the following list:
With that "simple" language you can describe & define all possible Kolam pattern's that adhere to the given definition.
The authors continue on to review special properties of Kolam's with 5x5 and 7x7 diamond shapes:
Fig. 10. Pattern generation and one-stroke judgment. Table 2. Result of analysis on Kolam of 1-5-1 array of points.
Some of these special Kolam pattern's have a lot in common with convolution kernels used in image manipulation, pattern recognition, convolutional neural networks and deep learning. If you look at it from a 45° angle you can see how the convolution matrix and the underlying equations are calculated (e.g. in respect to FFT's).
See here a screenshot detailing the simple 3*3 vector convolution of
(1,2,3) * (4,5,6) = (4,13,28,27,18)from a recent video by Grant "3 Blue 1 Brown" Sanderson$(1+2x+3x^2)(4+5x+6x^2) = 4+13x+28x^2+27x^3+18x^4$
3*3 convolution
But what is a convolution? https://www.youtube.com/watch?v=KuXjwB4LzSA