Skip to content

Python implementation of Petros Vrellis' "A New Way to Knit"

License

Notifications You must be signed in to change notification settings

sim-on/aNewWayToKnit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python implementation of Petros Vrellis' "A New Way to Knit"

nails

This (rough) python script is a means to reproduce the images created by Petrol Vrellis "A New Way to Knit":

http://artof01.com/vrellis/works/knit.html

Have a look at my blog article to see how it works!

The script accepts the following parameters:

Flag Default Description
i n/a input file, use a square image
n 200 number of pins
s 400px size of the output image
t 1000 number of threads, as in physical threads, not those in parallel computing ;)
m 20 minimum distance between subsequent pins

The output image is written to out.png, the list of pins is written to points.txt.

About

Python implementation of Petros Vrellis' "A New Way to Knit"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages