https://github.com/sloev/typography_maze
https://github.com/sloev/typography_maze
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sloev/typography_maze
- Owner: sloev
- License: mit
- Created: 2019-09-03T23:29:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T17:56:07.000Z (over 5 years ago)
- Last Synced: 2025-03-09T22:45:55.047Z (over 1 year ago)
- Language: Python
- Size: 280 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# make typographic art from books
uses sentiment of words to make turns
## dependencies
```
python 3+
brew reinstall cairo pkg-config
pip install cairocffi afinn
npm install svgexport -g
```
## usage
```
# get a text file with lots of text inside and run
python main.py input.txt
# now you have a huge output.svg
# create a portable downscaled PNG with correct ratio and max 1000 in width
svgexport output.svg output2.png 1000:
```
## here is Kafkas *The Trial* as a typographic maze:

And here is an excerpt showing that the lines actually are text:

