I see an opportunity!
Is this what you are trying to achieve?
References:
- text() / Reference / Processing.org
- fill() / Reference / Processing.org
- https://processing.org/reference/if.htm
- color / Reference / Processing.org
Hints:
- Use a similar loop
- compare the two values for each index 0 to 9
- assign a color based on comparison one for each row
- apply color to text showing the number
This is achievable for beginner.
Is this a homework assignment?
Please format your code as per instructions here:
https://discourse.processing.org/faq#format-your-code
:)