Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 1.4 KB

File metadata and controls

69 lines (46 loc) · 1.4 KB
permalink title description
/examples/volume6/movie_lego_the/
The Lego Movie (2014) | Minimalist Movie Poster
Minimalist Movie Poster generated using Java and Processing.

The Lego Movie (2014)

Animation, Action, Adventure, Comedy, Family, Fantasy

Plot

An ordinary LEGO construction worker, thought to be the prophesied as "special", is recruited to join a quest to stop an evil tyrant from gluing the LEGO universe into eternal stasis.

details

Movie Poster

The code

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

// The Lego Movie (2014)


final color PAPER = color(240,215, 125);
final color INK1 = color(50);
final color INK2 = color(220, 130, 180);
final color INK3 = color(120, 210, 220);


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


void draw() {
  final float S =  min(width, height);
  final float U = 0.002;
  
  translate(0.5*width, 0.2*height);
  rotate(-0.1*PI);
  scale(S);
  
  background(PAPER);
  
  noStroke();
  rectMode(CENTER);
  
  fill(INK1);
  rect(0.00, 0.00, 1.50, 1.00);
  
  fill(INK2);
  rect(0.00, 0.40, 1.50, 0.14);
  
  fill(INK3);
  rect(0.00, 0.23, 1.50, 0.14);
  
  save("the-lego-movie.png");
}

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