-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
28 lines (24 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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