We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Skip main navigation

Introduction to week 5

Watch Jon McCormack introduce week 5 and provide an overview of the themes to be covered - letters, text, strings and typography.
Welcome to Creative Coding week 5. This week we’ll be exploring the world of letters, words, strings and text. We’ll start by taking a look at how to work with strings and text in Processing. A string is just a collection of characters, pretty similar to an array. But because strings hold words, sentences even paragraphs of text that humans often want to read, we’ll see that there are some special functions to deal with manipulating strings. We can even read text from a file and use it as data in our program, which is necessary for things like data visualisation. We’ll also have an encounter with the software concept of objects and object-oriented programming.
Understanding the basics of how to use and work with program objects is really helpful in writing more complex sketches. We’ll also be looking at text and typography this week, and we have asked Professor John Warwicker to talk to us about the history and uses of writing, text and typography and how their relevance to creative coding. John is one of the founding members of the the design collective Tomato, who are internationally recognised for their ground breaking approach to design and typography. We’ll finish up with a coding challenge around the theme of generate type that combines a number of the ideas and methods we’ve been talking about this week and throughout the course.
As with many of our coding exercises, you’ll need to think creatively about what you’d like to do and think technically about how you can do it. Please share your results with everybody as its great to see the diversity of creative ideas that you come up with. Its another concept-filled week of letters, form and code, so if you’re ready’let’s begin!
Watch Jon McCormack introduce week 5 and provide an overview of the themes to be covered – letters, text, strings and typography.
Up first we’ll be looking at strings (collections of characters that represent words, sentences, and lines of text) and type. Being able to use text in Processing opens up many new possibilities. We’ll also be looking at the basics of object-oriented programming (OOP) and introducing some new sketches that make use of this feature.

Learning outcomes for week 5

At the end of this week you should be able to:
  • Understand how to draw text in Processing and work with text strings;
  • Appreciate the basics of object-oriented programming and coding with objects;
  • Appreciate the some of the history and significance of typography and letterforms to human culture.

This article is from the free online

Creative Coding

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education