Hello,
Welcome to the community.
Links to guidelines:
- Processing FAQ - Frequently asked questions
- p5.js Community Statement
- Guidelines - Asking Questions
- Guidelines - Answering Questions
Please format your code when posting:
https://discourse.processing.org/faq#format-your-code
:)