My little brother asked me to print original mandalas for coloring. I would like some idea on how to create them, but without color, so he can color them.
examples
|
My little brother asked me to print original mandalas for coloring. I would like some idea on how to create them, but without color, so he can color them. examples |
|||||||||||||
|
|
Here is one way to come up with "mandalas" -- we generate a segment and then by appropriate number of rotations we produce a "mandala". Here is an example function of a random seed segment generation:
This function makes symmetric a given seed segment:
Using a seed segment we can generate mandalas with different specification signatures:
This code randomly selects symmetricity and seed generation parameters (number of concentric circles, angles, connecting function):
Here is a more concise way to generate symmetric segment mandalas:
Going furtherAt this point we can consider blending and/or coloring of generated mandalas. One way to do mandalas blending is to convert a set of mandala graphics into images and do weighted blending of small image samples. Using this approach I got better looking results using only
AlbumSee this album with generated mandalas at different stages of the working on this question/answer. |
|||||||||||||||||||||
|
|
For this one I've defined three types of layer, a flower, a simple circle and a ring of small circles. You could add more for greater variety.
|
|||||||||||||
|
|
Completeley trial & error, but you can play around with it to your heart's content:
|
|||
|
|
|
It's not quite as good as if Mathematica had a "Mandala" command, but there are many named graphs that have quite intricate structures that might be fun to color. For example, those with the name "Cayley"
Some of my favorites:
Look at the help for |
|||
|
|
|
The point of using machine learning algorithms for generation of mandala images mentioned in the comments in of my previous answer is clarified in this blog post:
The article shows that with Non-Negative Matrix Factorization (NNMF) we can use mandalas made with the seed segment rotation algorithm to extract layer types and superimpose them to make colored mandalas. Using the same approach with Singular Value Decomposition (SVD) or Independent Component Analysis (ICA) does not produce good layers and the superimposition produces more "watered-down", less diverse mandalas. Here are the bases produced with SVD, ICA, and NNMF: Note the different look of the NNMF basis compared those of SVD and ICA. Here are colored mandalas produced with NNMF: |
||||
|
|
|
The presentation of Chris Carlson (from WRI) at WTC-2016 discusses design spaces and the examples he gave are very relevant to this discussion.
If you download the presentation notebook you use the dynamic interface code to generate mandalas. Below are some examples. |
|||
|
|
|
It would be better to do this in Adobe Illustrator. Illustrator has a function called "Array" that lets you arrange patterns around the perimeter of a circle. You first drawn your tile as a wedge, then make an array around the circle. If you can define your tile in Mathematica, then you can do the same thing in Mathematica by using the CirclePoints function. This will give you the coordinates of where to plot your tiles. Another function to look at is SectorChart. In Mathematica, it will be a more involved process than Illustrator. |
|||||||||
|