Decks of Cards
These examples are meant to demonstrate the type of output you can expect to create with protograf. They are not meant to be exhaustive or fully comprehensive!
Bear in mind that the images shown in these examples are lower-resolution screenshots; the original PDFs that can be generated from the source scripts will demonstrate full scalability.
Simple
Matrix Generated
Title |
Cards generated from a Matrix |
Script |
|
Discussion |
This example shows how to construct a deck of cards using these commands (only an extract of the code is shown here):
The use of the In this example each card will display a unique combination of a
SUIT - these are hexadecimal colors in the first list that
appears in Hint As can be seen, a Unicode symbol is shown by 4-characters
prefixed by the The Unicode symbols available are specific to the font being used. Once defined in the |
Screenshot |
|
Standard Playing Cards
Image-Only Cards
Title |
Cards generated from a directory of images |
Script |
|
Discussion |
This example shows how to construct a deck of cards using these commands (only an extract of the code is shown here):
The commands for generating cards that just consist of an image
are simple. the It can be helpful to ensure that any non-image files stored in that images directory are ignored; for this purpose the images_filter property can be set to contain a comma-delimited list of allowable file extensions. The Credits: the original image that was “chopped up” to form the set of images used for these example cards was sourced from: https://picjumbo.com/mysterious-fantasy-forest-with-old-bridges/ |
Screenshot |
|