Skip to content

Commit c89dd91

Browse files
committed
photos plus read me
1 parent a22882e commit c89dd91

12 files changed

Lines changed: 36 additions & 3 deletions

File tree

.DS_Store

-6 KB
Binary file not shown.

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
11
# pixelSortLive
22

3-
Pixel sorting on a collection of photo sets for live performances
3+
Pixel sorting on a collection of photo sets for live performances
4+
5+
(https://raw.githubusercontent.com/faltastic/pixelSortLive/master/screenshots/main.jpg)
6+
7+
### What is this?
8+
This sketch performs pixel sorting on a collection of photo sets. It was built to be used in live performances.
9+
10+
* It runs on [Processing](https://processing.org/).
11+
* For the GUI, I use [controlP5](http://www.sojamo.de/libraries/controlP5/) which works ok on Processing 2 but not 3.
12+
* The sorting algorithim used is [this sketch](https://github.com/phillipdavidstearns/aYearInCode/blob/master/Processing%202.2.1/cellSort/cellSort.pde) written by Phillip Davis Stearns.
13+
14+
## How to Use It?
15+
16+
To add your own photo sets, place them in the data folder and add their names to the photoSets string array at the top of the main sketch
17+
18+
```processing
19+
String[] photoSets = {
20+
"cosmos", "desert" // , "more", "albums", "here"
21+
};
22+
```
23+
24+
Each photo set may contain **jpg** photos of any size but they must be named *poly0.jpg*, *poly1.jpg*, *poly2.jpg*, and so on.
25+
26+
That's it!
27+
28+
## Controls
29+
30+
31+
## License
32+
33+
MIT
34+
35+
[![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)
36+

data/cosmos/poly0.jpg

1.34 MB
Loading

data/cosmos/poly1.jpg

1.19 MB
Loading

data/cosmos/poly2.jpg

1.23 MB
Loading

data/desert/poly0.jpg

154 KB
Loading

data/desert/poly1.jpg

1.5 MB
Loading

data/desert/poly2.jpg

255 KB
Loading

data/desert/poly3.jpg

144 KB
Loading

pixelSortLive.pde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* https://github.com/phillipdavidstearns/aYearInCode/blob/master/Processing%202.2.1/cellSort/cellSort.pde
1313
*
1414
* by Youssef Faltas, 2017
15-
* https://github.com/faltastic/cellsortGUI
15+
* https://github.com/faltastic/pixelSortLive
1616
*
1717
*/
1818

@@ -22,7 +22,7 @@
2222
// the data folder and add their names here
2323

2424
String[] photoSets = {
25-
"egypt", "desert" // more albums here
25+
"cosmos", "desert" // more albums here
2626
};
2727

2828
// Each photo set may contain jpg photos of any size but they are

0 commit comments

Comments
 (0)