permalink | title | description |
---|---|---|
/examples/volume3/labyrinth/ |
Labyrinth (1986) | Minimalist Movie Poster |
Minimalist Movie Poster generated using Java and Processing. |
Adventure, Family, Fantasy
A 16-year old girl is given 13 hours to solve a labyrinth and rescue her baby brother when her wish for him to be taken away is granted by the Goblin King.
// Manuale di Programmazione Cinematografica
// Daniele Olmisani, 2015
// Labyrinth (1986)
// See also:
// 10 PRINT CHR$(205.5+RND(1)); : GOTO 10
final color PAPER = color(255, 235, 130);
final color INK = color(30);
final float STROKE = 0.2;
final int COLS = 16;
void setup() {
size(480, 640);
noLoop();
}
void draw() {
final float S = width / COLS;
final float ROWS = height / S;
scale(S);
background(PAPER);
stroke(INK);
strokeCap(ROUND);
strokeWeight(STROKE);
randomSeed(0x2143B9F7);
for (int y=0; y<ROWS; y++) {
for (int x=0; x<COLS; x++) {
int r = (int)random(2);
line(x+(1-r), y, x+r, y+1);
}
}
save("labyrinth.png");
}
MdPC - a collection of minimalist movie posters by Daniele Olmisani Please, see LICENSE file