Hello,
Welcome.
Please format your code properly as per: https://discourse.processing.org/faq#format-your-code
Do you have a specific question?
:)