Skip to content

kevinhowbrook/howtodraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to draw

It's interesting how many books there are providing instructions on how to draw. Wouldn't it be nice to visualise them...

alt text

What is this

Running main.py does the following:

  • Queries the google books API for given keywords.
  • Populates files of book images into images/.
  • Resizes the book images onto a similar size square image and places this new image in images/resized.
  • Pastes the resized book images into one grid image (eg above) called ./allbooks.jpg.

Why

Basically, another creative experiment. I'm interested in 'How to draw' books, and using them in some way to make an original peice of work but not in an instructional way. Looking at them all as one image.

Running

Create an environment using pipenv then use pipenv shell to activate a shell for it. You'll need a google books API key, stick that in a file at .credentials.py:

key = 'YOURAPIKEY'

The API for google books is limited to 1000 per 24h. In main.py add some book keywords and then run python main.py

TODO

  • set up to span over 24h, picking up when last run

About

Google books api request for volumes. Gets Title, Subtitle, and image using #python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages