After we came back from the Easter holidays we continued learning about processing called local & global variable and IF Statements.
Local & Global variable
This is code of local & global variable in processing
The image changes different colours when you click the play button in processing.
This is code of IF Statement in processing to show the square changing colour from red into green by mouse X and Y.
This is how the image looks when it changes colour from red to green.