Week 05: Functions, Classes and Typography

We are meeting over Slack this week.

Lecture

This week’s lecture will delve into the fundamentals of functions and classes, exploring how you can create your own. We’ll embark on a journey through the evolution of written language, from the inception of movable type to modern computing. Additionally, we’ll examine various font types and their appropriate usage, exploring both computational typefaces and artistic letterforms. Finally, we’ll cover the essentials of typography in p5js, including rule-based typography generation through code, and the creation of custom fonts by modifying existing typefaces using the p5.Fonts class for p5js.

Lecture Slides

By the end of the week, please cover these coding examples and helpful links:

Helpful Resources

Coding Examples

In Class Coding Examples

In Class

  1. We will review the patterns you made using for loops, if statements and either the random or the noise function. Be prepared to talk about it.
  2. Sketch out a rule-based typeface with a pencil on paper. Take a picture of it. Once you have an idea of what to create, try and make A, B and C in p5js based on the rules you put together. Upload the photo of your sketch as well as the link to the p5js project to Slack.

In Class Rubric

Homework

  1. You have two options. You only need to do one of the two. Choose one:
    • Pick a word and use p5js to design a typeface that represents that word. You can either create a rule-based typeface using simple shapes or use p5.Font to modify an existing typeface. You must use at least one of the following; for loop, if statement, random or noise. Meaning do not do something you can create in Illustrator.
    • Pick your favorite quote or poem and use different type treatments in p5js to create a layout that visually represents the selected quote or poem. You can only use text.
  2. Share your sketch URL on Slack during our next class and be prepared to discuss your design choices.
  3. Watch the lecture video for Week 6 on Data Visualization.

Homework Rubric

back