Coder Social home page Coder Social logo

tonumoy / modular-arithmetic-on-a-circle-in-python Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 24.75 MB

This is a code to Visualize Modulo Arithmetic around a circle in python, through which anyone can create any number of Mandala Sketches

License: GNU General Public License v3.0

Python 100.00%
python spyder modulo-arithmetics mandala mandala-sketches mandala-art arithmetic circle diagram

modular-arithmetic-on-a-circle-in-python's Introduction

Modular-Arithmetic-on-a-Circle-in-Python-For-Mandala-Art

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)

Results

Result Result Result Result Result Result Result Result Result Result Result

Contributors

License & Copyright

© Tonumoy Mukherjee, Indian Insitute of Technology Kharagpur

Licensed under the GNU License.

modular-arithmetic-on-a-circle-in-python's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.