tiler
is a Rust tool inspired by svgtiler. It converts a text file into a PDF, mapping characters to colored Tetris pieces as defined in a configuration file (config.jsonc
). Optional features include rendering a board frame or grid.
<input_file>
: Required text file with a character grid.c
,--config <FILE>
: Custom config file (default: config.jsonc).f
,--frame
: Render a board frame.g
,--grid
: Render a grid overlay.d
,--debug
: Enable debug logging (multiple levels).
The config.jsonc
file loads the following colors and parametres: