Skip to content

chloerevery/crossword-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Crossword Plotter is a tool for transcribing crossword puzzles - filled, unfilled, or partially filled - using a plotter machine.

It is designed for use with a HP7440A plotter (old model from the 80s without support for many commands), but should work with any plotter that accepts HPGL files.

How to Use

The tool takes in a .puzzle file (see description below) and outputs an .hpgl file that can be fed into a plotter machine.

If you'd like to visualize what the final result will look like beforehand, I highly recommend the viz tool in this excellent collection of plotter tools.

.puzzle File Format

.puzzle format files have the following structure:

First line: <puzzle_width> <puzzle_height> Each subsequent line represents a row in the crossword puzzle, where # indicates a black square, . indicates an unfilled square, and any other character indicates a square filled with that character.

.puzzle Example

fivebyfive.puzzle (A partially-filled puzzle)

5 5
..L.#
ALEUT
..T..
LOGAN
#.O..

Build & Run Instructions

python3 draw_grid.py path/to/puzzle/file

About

Transcribe a crossword puzzle using a plotter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages