Assignment: 3 May
Considering the pseudocode you prepared for last week, experiment with one of the component procedural functions from the everyday process you already described (not the whole process!) and attempt to express it as a programmatic function using some of the C-syntax conventions we discussed in class. Don't worry just yet about creating "valid" code that executes without error: your mission is to take the first steps towards articulating what you previously wrote in plain English using data types, variables, functions and conditionals. You will likely want to refer to the 'Data' and 'Control' sections of the Processing Language Reference here: https://processing.org/reference/
You may also wish to consider this more detailed discussion of functions here: http://www.cs.du.edu/~malbow/COMP1671/Notes/ProcessingNotes3.pdf
While you are doing this, please also have a look through a few of the examples included with Processing that look interesting to you. Seeing working code in action can be just as helpful as (if not moreson than) reading about it in the documentation.