A random pattern generator

31e34b0 Fix memory leak when re-tiling an image

a month ago

8b7aaee Simplify image implementation

3 months ago


A random tiled pattern image generator. It includes an SDL2 UI that allows quickly generating new images until a satisfactory one is found. See the tappeto(1) manpage for details.

An image generated by tappeto An image generated by tappeto
tappeto -t 3 -b 212529 -f 0062CC -r 1920x1080 tappeto -t 4 -b FFFFFF -f 0062CC -r 640x480


The dependencies are:

  • A C99 compiler.
  • A POSIX system with sh, awk and make.
  • scdoc for building the manpages.
  • SDL2 and pkg-config (optional, for the GUI).

To build tappeto and its manpage run:


To install in /usr/local/ run the following as root:

make install

To install to some other directory, e.g. ~/.local/ run the following:

make PREFIX=~/.local/ install


Copyright 2022 Sotiris Papatheodorou

This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.