Hello,
You posted code and a subject but have not asked a specific question.
Please read and update your post:
https://discourse.processing.org/faq
:)