In my way of learning P5.js I enountered the ‘Modulo’ function. I did some reading into it, but I fail to understand HOW I should be looking at it and using it.

I have a number ‘generator’ that generates the number 1 to 100. Our task is: For every multiplication with 5 (5, 10, 15…) a name should appear and we were asked to use modulo.

I understand that you use the ‘%’ to divide 2 numbers, but fail to understand out how I can properly use it.

Any explanation that can be given would be appreciated!

```
var gooi = 0;
function setup () {
createCanvas (300, 1500);
noLoop();
}
function draw () {
textSize(12);
// i = hoogte van tekst plaatsing
for (i = 0; i < 1000; i += 10) {
gooi += 1;
text( '(' + gooi + ')' + ' ' + 'gegooid: ' + gooi, 10, (i + 20));
}
}
```