Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 2 column 17
---
permalink: /examples/volume5/star_trek/
title: Star Trek: The Motion Picture (1979) | Minimalist Movie Poster
description: Minimalist Movie Poster generated using Java and Processing.
---

Star Trek: The Motion Picture (1979)

Adventure, Mystery, Sci-Fi

Plot

When an alien spacecraft of enormous power is spotted approaching Earth, Admiral Kirk resumes command of the Starship Enterprise in order to intercept, examine and hopefully stop the intruder.

details

Movie Poster

The code

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

// Star Trek (1979)


final color PAPER = color(0);
final color INK = color(240);


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


void draw() {
  
  final float S =  min(width, height);
  final float U = 0.002;
  
  translate(0.5*width, 0.3*height);
  scale(S);
  
  background(PAPER);
  
  fill(INK);
  noStroke();
  ellipse(0.0, 0.0, 0.4, 0.4);
  
  stroke(INK);
  strokeWeight(35*U);
  line(0.0, 0.0, 0.0, 0.4);
  
  strokeWeight(20*U);
  line(0.0, 0.25, -0.15, 0.4);
  line(0.0, 0.25,  0.15, 0.4);
  
  strokeWeight(20*U);
  line(-0.15, 0.25, -0.15, 0.6);
  line( 0.15, 0.25,  0.15, 0.6);
 
  save("star-trek.png");
}

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