Skip to content

Latest commit

 

History

History

wonder_woman

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
permalink title description
/examples/volume4/wonder_woman/
Wonder Woman (2017) | Minimalist Movie Poster
Minimalist Movie Poster generated using Java and Processing.

Wonder Woman (2017)

Action, Adventure, Fantasy

Plot

An Amazon princess leaves her island home to explore the world and, in doing so, becomes one of the world's greatest heroes.

details

Movie Poster

The code

// Manuale di Programmazione Cinematografica
// Daniele Olmisani, 2017

// Wonder Woman (2017)


final color PAPER = color(170, 20, 10);
final color INK = color(225, 185, 15);


void setup() {
  size(480, 640);
  noLoop();
}


void draw() {
  
  float s = 0.1 * min(width, height);
  
  translate(0.5*width, 0.3*height);
  
  background(PAPER);
  
  noFill();
  stroke(INK);
  strokeWeight(2*s);
  strokeCap(SQUARE);
  
  strokeJoin(ROUND);
  beginShape();
    vertex(-width, 0);
    vertex(-3*s, 0);
    vertex(-1.3*s, 2.5*s);
  endShape();
 
  strokeJoin(MITER);
  beginShape();
    vertex(-3*s, 0);
    vertex(-1.3*s, 2.5*s);
    vertex( 0, -0.1*s);
    vertex( 1.3*s, 2.5*s);
    vertex( 3*s, 0);
  endShape();

  strokeJoin(ROUND);
  beginShape();
    vertex( 1.3*s, 2.5*s);
    vertex( 3*s, 0);
    vertex( width, 0);
  endShape();
  
  save("wonder-woman.png");
}

MdPC - a collection of minimalist movie posters by Daniele Olmisani Please, see LICENSE file