Wolfram Function Repository
Instantuse addon functions for the Wolfram Language
Function Repository Resource:
Make random mandala plots
ResourceFunction["RandomMandala"][] generates a mandala graphic. 
"RotationalSymmetryOrder"  6  a value k defining the rotation symmetry angle, 2 π/k 
"Radius"  10  maximum radius of the seed segment generation points 
"SymmetricSeed"  True  should the seed be symmetric or not 
"NumberOfSeedElements"  Automatic  the number of elements in a seed segment 
"KeepGridPoints"  False  should the grid points be shown 
"ConnectionFunction"  Random  how to connect grid point 
"ColorFunction"  None  how to colorize the mandala 
Here we generate a random mandala:
In[1]:= 

Out[2]= 

Here we generate a mandala with different option settings:
In[3]:= 

Out[4]= 

There are two modes of making random mandalas: (i) singlemandala mode and (ii) multimandala mode. The multimandala mode is activated by giving the “Radius” option a list of positive reals.
Here are graylevel and colorized mandalas generated with the singlemandala mode:
In[5]:= 

Out[6]= 

In[7]:= 

Out[8]= 

Here are graylevel and colorized mandalas generated with a multimandala mode:
In[9]:= 

Out[10]= 

In[11]:= 

Out[12]= 

The function given to ColorFunction is run over Range[0,1,0.1] the obtained colors are used to colorize the mandala. By default no colorizing is done, ColorFunction→None.
ColorFunction can also take strings that are color schemes known by ColorData.
Here is a list of colorized mandalas using singlemandala mode:
In[13]:= 

Out[13]= 

Here are mandalas generated using multimandala mode:
In[14]:= 

Out[14]= 

The option "ConnectingFunction" specifies which graphics primitive to be used over the seed segment points:
In[15]:= 

Out[15]= 

The option "KeepGridPoints" specifies should the points used to generate the seed segment be kept or not:
In[16]:= 

Out[16]= 

In[17]:= 

Out[17]= 

The option "NumberOfElements" controls how may graphics elements are in the seed segment:
In[18]:= 

Out[18]= 

In[19]:= 

Out[19]= 

If the value of “NumberOfElements” is Automatic in singlemandala mode 6 elements are used, and in multimandala mode 3 elements are used (for each mandala.)
In singlemandala mode the option "Radius" specifies the radius of the seed segment and the mandala:
In[20]:= 

Out[20]= 

If the value given to “Radius” is a list of positive numbers then multimandala mode is used.
If "Radius"→{r_{1},…,r_{k}}, then for each r_{i} is made a mandala with radius r_{i} and the mandalas are drawn upon each other according to their radii order:
In[21]:= 

Out[19]= 

Using the option ColorFunction colorized mandalas are obtained:
In[22]:= 

Out[23]= 

The "RotationalSymmetryOrder" option specifies how many copies of the seed segment comprise the mandala:
In[24]:= 

Out[24]= 

In[25]:= 

Out[25]= 

The option "SymmetricSeed" specifies should the seed segment be symmetric or not:
In[26]:= 

Out[26]= 

In general, the rotational symmetry order should be an integer, but for didactic purposes it is permitted to be a positive real. If the specified rotational symmetry order is not an integer, then the produced mandalas will appear “open”:
In[27]:= 

Out[25]= 

In[28]:= 

Out[28]= 

In[29]:= 

Out[29]= 

In[30]:= 

Out[30]= 

In[31]:= 

Out[31]= 

In[32]:= 

Out[25]= 

Make a list of random mandalas:
In[33]:= 

Out[28]= 

Make images of the generated mandala graphics:
In[34]:= 

Out[34]= 

Pick mandala images at random and blend them using a set of coloring schemes:
In[35]:= 

Out[36]= 

Make a collage:
In[37]:= 

Out[37]= 

This work is licensed under a Creative Commons Attribution 4.0 International License