modularArithmetic
Modular arithmetic or modulo multiplication circle. Display of the times table as secants in a circle.
Performs the following operation: multiplier mod numberOfPoints.
Renders a cardioid (a.k.a. the Heart of Mathematics) or Simon Plouffe patterns. Related to the reflection of light rays in a cup of coffee. Some patterns show up in the Mandelbrot set.
Animated video available on: https://youtu.be/YRQZAqlxbCw
______________________________________________________________________________
Copyright (C) 2019 Edgar Guevara, PhD
______________________________________________________________________________
Cite As
Edgar Guevara (2026). modularArithmetic (https://github.com/guevaracodina/modularArithmetic), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.1 | Added the option to create animated video |
|
|
| 1.0.0 |
|
