Example (Mathematica: Demonstration Project):
All the settings are there as to how it's done in Mathematica.
Is this enough for determining how it could be done in Blender?
My first thought and goto was Curves / Torus knots.
I'm not sure what information, based on the example would go where. Or even if that's the best (or only place - code maybe / nodes maybe) to work this out.
Maybe Braided Knots? Curve Spirals - Torus?
Another possibility, based on the example, maybe a base curve rotated via empty using the array modifier?
Kolam (Tamil: கோலம்), or also known as Muggu (Telugu: ముగ్గు)is a form of drawing that is drawn by using rice flour, chalk, chalk powder or rock powder, often using naturally or synthetically colored powders, in Sri Lanka, the Indian states of Tamil Nadu, Karnataka, Telangana, Andhra Pradesh, Kerala and some parts of Goa, Maharashtra as well as Indonesia, Malaysia, Thailand and a few other Asian countries. A Kolam is a geometrical line drawing composed of curved loops, drawn around a grid pattern of dots. In South India and Sri Lanka, it is widely practised by female Hindu family members in front of their houses.1 Kolams are regionally known by different names in India, Raangolee in Maharashtra, Aripan in Mithila, Hase and Rangoli in Kannada in Karnataka. More complex Kolams are drawn and colors are often added during holiday occasions and special events.
I don't get the impression that this is "the" Kolam as much as "a" Kolam based on the definition.