Processing Workshop (Part Three)


In our third Processing lecture we were shown a different type of loop. A ‘for loop’ only takes up one line of code and is a much more efficient way of repeating content.

We were then introduced to arrays and how we could use them in our projects.
The mini task that we were given was to fill a rectangle with a random colour from our colour array.


Processing Workshop (Part Two)


In our second Processing workshop we were introduced to ‘while loops’, which are used if certain conditions are required for a function to run. We also learnt about the ‘random’ function and how it can be used to select random hues.

Our mini task for today was to create 10 random sized circles filled with 10 random colours every time the mouse clicked.

Processing Workshop

Today we had a workshop that introduced us to programming languages. We started off the session by learning a list of keywords (non-specific to Java) and some common misconceptions about programming. We then moved on to a practice session with Java itself. We were basically told that once you know how to write one programming language, you technically known them all (except for the fact that the syntax varies from language to language, just like spoken languages). Learning about the syntax of Java was interesting, as every programming language follows a similar structure but has a unique syntax. We were introduced to a program called ‘Processing’. This program can support Java, JavaScript and Python, though I think we are mostly going to use it for the former of the three.


Above is a screen shot of part of the work I created today. I understand the basic syntax of Java and how easy it can be to understand, though I am fully aware that it is going to get a lot more complex as we progress. Most of the functions that we used today were called ‘booleans’ and relied on either a true or false outcome in order to perform.

I intend to watch the tutorials on in order to develop my Java knowledge in my spare time.


Fry, B. and Reas, C., 2001. Processing [online]. Available from: [2nd October 2014]