Skip to content

ColdMacaroni/pyautogui-crosshatching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyautogui-crosshatching

Open a drawing program (kolourpaint, mspaint) and pick a pixel brush, then run the script with an image as the argument. You'll have 2 seconds to place your cursor on the top left of where you want the image. You can change the SQUARE_SIZE env variable to change how big a cell is. Make sure that that image size times SQUARE_SIZE isn't too big or it'll begin trying to draw outside your screen which isn't ideal.

In case you wan't to escape its hold, pyautogui stops if you move your mouse to the top left corner of your screen.

Example

Input image:
A low res photo of a car with 4 dice around it.

Output (with size 9):
car out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages