This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
w, h = 868, 864 | |
strokeW = 50 | |
spacing = 5 | |
# barra esquerda | |
rect(0, 0, strokeW, h) | |
# barra direita | |
rect(w-strokeW, 0, strokeW, h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
# A4 paper size in mm | |
paperWidth = 210 | |
paperHeight = 297 | |
# bleed for printing | |
bleed = 20 | |
# book spine |