Mandalapy
This is a Python port of Fronkonstin's R code: https://fronkonstin.com/2018/02/14/mandalas/
Enjoy making beautiful mandalas modifying the specified parameters to obtain different figures.
Installation
- Checkout the repository
- Make sure you have python 3.7+ installed and a virtual environment manager for python
- Create a virtual environment using virtualenvwrapper or any manager of your preference
- Install the requirements with
pip install requirements
Usage
To use the code, just clone the repository into your computer. The file mandalapy.py contains the main function to draw the figures. In case you want to play with the code directly into jupyter, you can use the mandalapy_notebook.ipynb file.
Examples
Created with 4 iterations, 5 points and radius 2: Created with 4 iterations, 7 points and radius 2: