Ass­i­g­n­m­e­n­t 2

by Neil Fernandes

Background Research and Inspiration

I drew inspiration for this project from my last project which had a collage of one thousand bezier curves. I have enjoyed looking at collages cut from magazines and wanted to make something based on the same idea. Here is an example of one: Collage

Instead of just having a picture of a collage as the banner I made it so that the collage was animated and that I could control the rate at which the words popped up. This made it so that you can see the collage being made as you visit the website as well as be apart of it because it is in part controlled by your mouse movement. Because I had to use the words Design Lab I wanted to differentiate the words so that the collage would have a few different elements. I was limited to only a few colors but had ten fonts that I could cycle through. I wanted to create something that would catch the eye with movement. The animation of the collage reminded me of paint splatters which are another of my favorite types of art. Here is an example of the paint splatters: Paint Splatter I enjoy how not only every run but also every frame gives a different image. I personally did not find the animation to be distracting.

Response to Design Brief and Originality

I would have enjoyed making a design or banner that was not based on the words Design Lab. I would have prefered to make something that was not made of the words Design Lab but instead looked more like something you could find in nature. I also wanted to give my collage a more colorful look and would have liked to go outside of the color parameters provided by the Design Brief. I felt that my work was original especially when compared to the sources of my inspiration.

Reflection on Outcomes

I wanted to make the background change between a spectrum of colors but was limited to just the few and wanted a greater effect than I could have had within the specifications of the assignment. I had also wanted to make the font be chosen from an array of fonts which I had already uploaded to peep but could not get that to work. I checked my code and asked peers and the teaching assistants for help but could not figure out what was wrong with it or if the fault was with peep. If I had more time to expand on this project I would add to it so that the words Design Lab followed the mouse and moved around it in a circle. I did manage to get the letters making the words follow the mouse which I enjoyed.

I have included my sketch at different resolutions. In peep the size of the text was randomized but it wouldn't load the fonts I wanted and stuck with just one size. When I ran the code in the PDE I had to specify the size of the new fonts in my array and I could not get their size to randomize.

  • Show Code
/** @peep sketch */
PFont font; 
String str1= "Design lab"; //This is the text I want to pop up
PFont[ ] Fonts = new PFont[10]; //Creating an array to choose from the fonts provided
color[ ] Colors = new color[3];//Creating an array to choose from the Colors provided
char[ ] Chars = new char [9];/*I wanted the letters making up Design Lab follow the 
 mouse but one after the other so used an array of characters*/
int index = 0; /*Needed to create an increasing array so the letters in Design Lab changed so rather than Design Lab following the
 mouse, the letters making Design Lab followed the mouse*/
 
void setup() { 
  size(400, 400); //Creating the size of the banner which is resizeable
  textAlign(CENTER, BOTTOM); 
  frameRate(4); 
  Fonts [0] = createFont("/uploads/16054/controllerone.otf", 100); /*Uploaded each of the fonts available from the assignment
   and copied the upload url but could not get peep to upload the fonts. I followed the tutorial on uploads but could not
   get it to load*/
  Fonts [1] = createFont("/uploads/16054/controlleroneoblique.otf", 100); 
  Fonts [2] = createFont("/uploads/16054/controllertwo.otf", 100); 
  Fonts [3] = createFont("/uploads/16054/controllertwooblique.otf", 100); 
  Fonts [4] = createFont("/uploads/16054/controllerthree.otf", 100); 
  Fonts [5] = createFont("/uploads/16054/controllerthreeoblique.otf", 100); 
  Fonts [6] = createFont("/uploads/16054/controllerfour.otf", 100); 
  Fonts [7] = createFont("/uploads/16054/controllerfouroblique.otf", 100); 
  Fonts [8] = createFont("/uploads/16054/controllerfive.otf", 100); 
  Fonts [9] = createFont("/uploads/16054/controllerfiveoblique.otf", 100); 
  Colors [0] = color(0); //Chose the colors the words would be this one is black
  Colors [1] = color(255); //White
  Colors [2] = color(#FEDB32); //Yellow, I took this color from online using a color matcher on the design lab logo
  Chars [0] = 'd';//Adding the letters to follow the mouse
  Chars [1] = 'e';
  Chars [2] = 's';
  Chars [3] = 'i';
  Chars [4] = 'g';
  Chars [5] = 'n';
  Chars [6] = 'l';
  Chars [7] = 'a';
  Chars [8] = 'b';
  background(#FEDB32);
} 
void draw() {
  textSize(random(0, 30)); //This provided more variation to the text Design Lab
  textFont(Fonts [int(random(0, 10))]); //I wanted the words to pop up under different fonts
  fill(Colors[int(random(0, 3))]);//This let the color of the words change
  text("Design Lab", random(0, 400), random(0, 400)); //Gave the words a random place to pop up, helping to create a collage feeling
  fill(255); //I thought that white would show up best follow the mouse
  textSize(40); //I wanted the size of the letters following the mouse to be consistent
  text( Chars[index++], mouseX, mouseY); //I wanted to the letters to follow the mouse so that Design Lab was spelled 
  if (index>8) { 
    index = 0; //This made sure that I didn't go past the bounds of the Chars array
  }
}

Here is my sketch at a different resolution that is more fitting of a banner.

  • Show Code
/** @peep sketch */
PFont font; 
String str1= "Design lab"; //This is the text I want to pop up
PFont[ ] Fonts = new PFont[10]; //Creating an array to choose from the fonts provided
color[ ] Colors = new color[3];//Creating an array to choose from the Colors provided
char[ ] Chars = new char [9];/*I wanted the letters making up Design Lab follow the 
 mouse but one after the other so used an array of characters*/
int index = 0; /*Needed to create an increasing array so the letters in Design Lab changed so rather than Design Lab following the
 mouse, the letters making Design Lab followed the mouse*/
 
void setup() { 
  size(500, 200); //Creating the size of the banner which is resizeable
  textAlign(CENTER, BOTTOM); 
  frameRate(4); 
  Fonts [0] = createFont("/uploads/16054/controllerone.otf", 100); /*Uploaded each of the fonts available from the assignment
   and copied the upload url but could not get peep to upload the fonts. I followed the tutorial on uploads but could not
   get it to load*/
  Fonts [1] = createFont("/uploads/16054/controlleroneoblique.otf", 100); 
  Fonts [2] = createFont("/uploads/16054/controllertwo.otf", 100); 
  Fonts [3] = createFont("/uploads/16054/controllertwooblique.otf", 100); 
  Fonts [4] = createFont("/uploads/16054/controllerthree.otf", 100); 
  Fonts [5] = createFont("/uploads/16054/controllerthreeoblique.otf", 100); 
  Fonts [6] = createFont("/uploads/16054/controllerfour.otf", 100); 
  Fonts [7] = createFont("/uploads/16054/controllerfouroblique.otf", 100); 
  Fonts [8] = createFont("/uploads/16054/controllerfive.otf", 100); 
  Fonts [9] = createFont("/uploads/16054/controllerfiveoblique.otf", 100); 
  Colors [0] = color(0); //Chose the colors the words would be this one is black
  Colors [1] = color(255); //White
  Colors [2] = color(#FEDB32); //Yellow, I took this color from online using a color matcher on the design lab logo
  Chars [0] = 'd';//Adding the letters to follow the mouse
  Chars [1] = 'e';
  Chars [2] = 's';
  Chars [3] = 'i';
  Chars [4] = 'g';
  Chars [5] = 'n';
  Chars [6] = 'l';
  Chars [7] = 'a';
  Chars [8] = 'b';
  background(#FEDB32);
} 
void draw() {
  textSize(random(0, 30)); //This provided more variation to the text Design Lab
  textFont(Fonts [int(random(0, 10))]); //I wanted the words to pop up under different fonts
  fill(Colors[int(random(0, 3))]);//This let the color of the words change
  text("Design Lab", random(0, 400), random(0, 400)); //Gave the words a random place to pop up, helping to create a collage feeling
  fill(255); //I thought that white would show up best follow the mouse
  textSize(40); //I wanted the size of the letters following the mouse to be consistent
  text( Chars[index++], mouseX, mouseY); //I wanted to the letters to follow the mouse so that Design Lab was spelled 
  if (index>8) { 
    index = 0; //This made sure that I didn't go past the bounds of the Chars array
  }
}

Comments

Nobody has said anything yet.