diff --git a/proof.py b/proof.py index 4ff6d10..23906e8 100644 --- a/proof.py +++ b/proof.py @@ -16,9 +16,9 @@ from superturtle.movement import no_delay import typeface GRID_COLOR = "lightgrey" -GRID_SIZE = 1 +GRID_SIZE = 0.1 LETTER_COLOR = "black" -LETTER_SIZE = 3 +LETTER_SIZE = 0.3 LETTERS_PER_ROW = 7 ALPHABET = "abcdefghijklmnopqrstuvwxyz" @@ -48,10 +48,10 @@ def draw_proof_sheet(unit): if i > 0 and i % LETTERS_PER_ROW == 0: go_to_next_line(unit) color(GRID_COLOR) - pensize(GRID_SIZE) + pensize(GRID_SIZE * unit) draw_grid(unit) color(LETTER_COLOR) - pensize(LETTER_SIZE) + pensize(LETTER_SIZE * unit) letter_function = getattr(typeface, f"draw_letter_{letter}") letter_function(unit) fly((GRID_ROWS + 1) * unit)