This is a code to Visualize Modulo Arithmetic around a circle in python, through which anyone can create any number of Mandala Sketches
A mandala (emphasis on first syllable; Sanskrit मण्डल, maṇḍala – literally "circle") is a geometric configuration of symbols. In various spiritual traditions, mandalas may be employed for focusing attention of practitioners and adepts, as a spiritual guidance tool, for establishing a sacred space and as an aid to meditation and trance induction. In the Eastern religions of Hinduism, Buddhism, Jainism and Shintoism it is used as a map representing deities, or specially in the case of Shintoism, paradises, kami or actual shrines.
In New Age, the mandala is a diagram, chart or geometric pattern that represents the cosmos metaphysically or symbolically; a time-microcosm of the universe, but it originally meant to represent wholeness and a model for the organizational structure of life itself, a cosmic diagram that shows the relation to the infinite and the world that extends beyond and within various minds & bodies.
- Wikipedia (Info Source)
In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to modular arithmetic was developed by Carl Friedrich Gauss in his book Disquisitiones Arithmeticae, published in 1801.
A familiar use of modular arithmetic is in the 12-hour clock, in which the day is divided into two 12-hour periods. If the time is 7:00 now, then 8 hours later it will be 3:00. Simple addition would result in 7 + 8 = 15, but clocks "wrap around" every 12 hours. Because the hour number starts over after it reaches 12, this is arithmetic modulo 12. In terms of the definition below, 15 is congruent to 3 modulo 12, so "15:00" on a 24-hour clock is displayed "3:00" on a 12-hour clock.
- Wikipedia (Info Source)
- Tonumoy Mukherjee [email protected]
© Tonumoy Mukherjee, Indian Insitute of Technology Kharagpur
Licensed under the GNU License.