Trying out some patterns in Processing.