Skip to content

ventuno/kwadrat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kwadrat

----
Introduction
----
A simple project inspired by Zbigniew Rybczynski's short film Kwadrat (Square).
Watch the film: http://artmuseum.pl/pl/filmoteka/praca/rybczynski-zbigniew-kwadrat
Read a description: http://www.zbigvision.com/Kwadrat.html
ZBIG VISION website: http://www.zbigvision.com/
kwadrat lets you turn a set of images in a set of frames following the process used by Zbig Rybczynski when making the short film Kwadrat in 1972.
0) For every picture in the loop
1) Take a square picture of size l
    2) Build a grid of size l on top of the image
        3) For every (square) cell in the grid
            4) If the cell intersects part of the underlying image, draw a WHITE square
            5) If the cell does not intersect part of the underlying image, draw a BLACK square
    6) Change l to l/2
    7) Repeat from 2

----
Intructions
----
This project depends on the Pillow Python library (https://pypi.python.org/pypi/Pillow/). Make sure to have it installed before you try to run the project.
Run the project with the following command:

python kwadrat.py <list-of-photographs>

e.g.: python kwadrat.py Lenna.png Lenna-45.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages