This webpage displays the Moire book, implements the Moire image encryption algorithm and shows how the Moire effect works.
For installing Flask and it's subsidary packages, run the following command
pip install -r requirements.txt
Just run the moire.py file as:
python moire.py
Open 0.0.0.0:5005/base
on any web browser.
The Application has 3 main parts
We have 5 patterns:
*Circles
*Spikes
*Dots
*Square
*Triangles
Screenshot of a few of the patterns:
Working animations of these are also uploaded on youtube:
*Moire Circles
*Moire Spikes
We have 3 different types of moire art:
*Simple Moire Encryption - Encrypt a single image with two gratings. And the superposition of the gratings reveals the original image.
*Complex Moire Encryption - Encrypt a single image with two identical gratings. And the superposition of the gratings reveals the original image.
*Moire Art - Encrypt two images with two gratings. And the superposition of the gratings reveals the original images respectively at diffenerent alignment.
- Flask - The web framework used
- Bootstrap - UI Css used
- Target-Driven Moire Pattern Synthesis by Phase Modulation - Used as reference for Moire Art
- Takahiro Kurashima
- Yunong Liang
- Bo Xu
- James Abello