cistercian

command module
v0.0.0-...-429049f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 6 Imported by: 0

README

cistercian

Commandline tool to generate Cistercian numerals.

The medieval Cistercian numerals, or "ciphers" in nineteenth-century parlance, were developed by the Cistercian monastic order in the early thirteenth century at about the time that Arabic numerals were introduced to northwestern Europe. They are more compact than Arabic or Roman numerals, with a single glyph able to indicate any integer from 1 to 9,999. Digits are based on a horizontal or vertical stave, with the position of the digit on the stave indicating its place value (units, tens, hundreds or thousands). These digits are compounded on a single stave to indicate more complex numbers.

Installation

go get github.com/rhardih/cistercian

Example usage

Text
$ cistercian 7323
    ╷
    │╲
    │ ╲
    │  ╲
────┤
    │
    │
    │
╷   │
│   │  ╱
│   │ ╱
│   │╱
└───┘
SVG
$ cistercian -svg 5221 > 5221.svg

Result:

5221

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL