Some example templates as SVG for laser cutting
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Henning Jacobs 3e8ca2faa4 add row mnemonic (random) 2 months ago
3x3.bdf complete 7bit 3x3 font 2 months ago
3x3.svg 3x3: add spacing 7 months ago
7segment.svg 3x3 glyphs 8 months ago increase default width to 5 cols (19 pixels) 7 months ago
bitocra.bdf allow different fonts 8 months ago add row mnemonic (random) 2 months ago
hexagons.svg output file as CLI arg 7 months ago
poetry.lock mnemonic words as column headers 2 months ago
pyproject.toml mnemonic words as column headers 2 months ago circular layout 7 months ago
tom-thumb.bdf visual cryptography experiment 9 months ago

Visual Cryptography

Generate visual cryptography cards to laser cut.


poetry install
poetry run ./ --text=MyText out.svg

To render all glyphs of the 3x3 font:

poetry run ./ test.svg --only-data-bits --font 3x3.bdf --width=32 --height=44 --space-x=0.6 --space-y=0.6 --card-width=150 --card-height=200 --text '"'"'"'+,-./0123456789:<=>?ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdfhijlmnoruv{}~' --skip-rows=4 --skip-cols=4 --shape=3dots


  • 3x3.bdf: very small 3x3 pixel font, not all characters are available (best used with --skip-cols and --skip-rows set to 4)
  • tom-thumb.bdf: small 5x7 pixel font, all ASCII characters available (best used with --skip-cols=4 and --skip-rows=6)
  • bitocra.bdf: large OCR font


Generate cards with the letters A-K on two rows using the default font tom-thumb.bdf:

poetry run ./ out.svg --skip-cols=4 --skip-rows=6 --text=ABCDEFGHIJK --space-x=0.6 --space-y=0.6