Decoding of Mayan Numbers

By clicking on the individual segments, the single number is built up and output numerically. In addition, the individual numbers are added up according to the place value system.
So in this example: 9 * 20 + 11 = 191
creates new number
deletes last number
deletes all numbers
Encoding of Mayan Numbers

When a number is entered, it is automatically converted to the Mayan number system and displayed graphically.
So in this example: 1 * 8000 + 5 * 400 + 1 * 20 + 11