Working with processing again, this time generating 10 random circles. These circles had to be random sizes and also random colours. Having limited knowledge on Processing it was pretty hard to start it off, then I remembered everything that we’ve learnt already covered the task.

The main 3 inputs that were needed for the task were:

void setup () { }

void draw () { }

void mouseClicked() { }

This is what I came up with:

A screen shot of the code used for circles generating.

I programmed so that every time the mouse is clicked different size and colour circles would appear on random spaces within the box.