Contact FutureLearn for Support
Skip main navigation
We use cookies to give you a better experience, if that’s ok you can close this message and carry on browsing. For more info read our cookies policy.
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 to 0 minutes and 7 secondsWelcome to week 4 of Creative Coding. We're now into the second half of the course and this week we'll be looking at a variety of media elements that go into developing more complex sketches with Processing. First we'll be looking at colour. We've already seen some basic uses of colour in Processing, including greyscale models and colour based on combinations of red, green and blue, or RGB. We've also made use of alpha values to control the transparency of graphics objects when they're drawn. We'll look at more intuitive models for dealing with colour and discuss ways to work creatively with colour in a sketch. So far, all the images we've created have been drawn using

Skip to 0 minutes and 48 secondsProcessing's built-in drawing shapes: lines, ellipses, rectangles and so on. Processing can also deal with images as well. You can read in any digital image, including your own photographs, into Processing and that's where things can get interesting. An image is just a big array of RGB values ' data ' so of course you can massage and manipulate that data in your code to get some stunning results. We'll also show you how to incorporate sound into your processing sketches. The easiest way to do this is to use short, pre-recorded sounds. If you have access to a smartphone or tablet with a built-in microphone you can record your own sounds,

Skip to 1 minute and 24 secondsbut if not don't worry: we've provided some simple sounds to get you started. Throughout the course so far, we've made use of randomness in a number of sketches. You're already familiar with the random() function, but there's a whole lot more to randomness that what we've looked at so far. So we'll look further into other random functions and show how they can be used effectively in your sketches. Beyond random functions its important to look at why and how randomness is so often used. Artists have successfully used randomness and random processes for centuries, from the dice music of Mozart to British artist Tm Knowles' wonderful drawings made by the random movement of trees in the wind.

Skip to 2 minutes and 4 secondsSo we'll be discussing what might be called the philosophy of randomness and the aesthetics of noise.

Skip to 2 minutes and 12 secondsSo if you're ready'let's begin!

Introduction to week 4

Watch Jon McCormack introduce week 4 and provide an overview of the themes to be covered - colour, image, sound and noise.

This week we’ll be looking at colour, image, sound and randomness. We’ll look at different colour models beyond the Monochrome and RGB numbers we’ve used so far. We’ll also look at how you can incorporate images and sounds into your Processing sketches. We have two coding challenges for you to try: improving an interface to creatively choose colours and ‘one pixel cinema’ which will challenge you to create an ambient generative animation from image data.

We’ll also look further at random functions and the role randomness and chance plays in art.

Learning outcomes for week 4

At the end of this week you should be able to:

  • Appreciate the use of colour in software art and know how to use different colour modes in Processing;
  • Incorporate images and sounds into your Processing sketches;
  • Understand the basics of random functions in Processing;
  • Have an appreciation of how randomness has been used in a creative practice.

Would you like a Certificate?

If you want a record of your course, you can buy a Certificate of Achievement from FutureLearn.

The Certificate of Achievement is a great way to prove what you have learned on the course and as evidence of your Continuing Professional Development. This is a personalised certificate and transcript, detailing the syllabus and learning outcomes from the course. It comes as a printed certificate as well as a digital version which you can add to your LinkedIn profile. To be eligible, you must mark at least 90% of the steps in this course as complete, attempt every test question and achieve 70% or above on average across all course tests.

There is also the option to purchase a personalised Statement of Participation, to celebrate taking part. To be eligible for the Statement of Participation, you must mark at least 50% of the steps on the course as complete and attempt every test question. This also comes in a printed and digital format and you can add it to your LinkedIn profile.

Demonstrate your learning: Complete an exam

Now that you’re half-way through the course you might like to consider demonstrating how much you’ve learned by completing an exam at the end of the course run. If you successfully pass the exam, you’ll be mailed a FutureLearn Statement of Attainment - a university-branded certificate as verified proof of your learning and your score in the exam that you can show your boss, a future employer or your friends and family.

You can complete the exam between 3 October 2016 and 23 October 2016.

Share this video:

This video is from the free online course:

Creative Coding

Monash University