Skip to content

canberkturan/ModularMultiplicationCircle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

Modular Multiplication Circle

This cli application creates a modular multiplication circle.

What is Modular Multiplication Circle

  • Choose a number to put dots around the circle. (ex: 200)

  • Choose a number to multiply all dot index values. (ex: 2) -> index*2

  • Get remainder after division of multiplication result by dot count -> (index*2)%200

  • Choose a number to add bias value. (ex: 0)

  • Add bias value to modulation results. -> (index*2)%200 + 0

  • Draw lines betwees start indexes and result indexes. (lines between dots pointed index and (index*2)%200 + 0 values.)

  • It will show what is itself.

Examples

Dependencies

  • GoLang
  • Network Connection

Installation on *nix and GNU/Linux based systems

git clone https://github.com/canberkturan/ModularMultiplicationCircle
cd ModularMultiplicationCircle
make
sudo make install

Usage

  • $ modmulcircle [OPTIONS]

    -s Size of the picture as pixel value (default 1080)

    -p Padding between borders and circle as pixel value (default 0)

    -r Rotation of circle as degree (default 0)

    -d Dot count around the circle (default 200)

    -m Multiplication value (default 2)

    -b Bias value (default 0)

    -fg Foreground color (default "255 255 255") (ex: -fg "255 0 0")

    -bg Background color (default "0 0 0") (ex: -bg "0 0 0")

    -o Output file path (default output.png)

About

Modular Multiplication Circle Creator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published