Please read:
- Processing FAQ - Frequently asked questions
- Guidelines - Asking Questions
- Guidelines - Answering Questions
- p5.js Community Statement
You have edited your post from javaScript code to Android code.
Your most recent edit is identical to Android code from here:
cloudstack.ninja
If you have a question related to Processing (or one of the related categories):
- Read the guidelines first before posting a topic.
- Ask the question with some context to what you are trying to do.
- Tag your post with the correct category.
- Provide a link to the source of the original code.
That should be:
I found it on the Internet.
You may want to consider going over to Stack Overflow with Android questions that are not related to Processing.