FANDOM


"Modulo" is the remainder after division. 5 modulo 4 is 1. 8 modulo 4 is 0. Ruby use the symbol % as modulo operator.

It can be useful in some cases, mainly when you create a list of values like [0,2,3,4,5][(frame/50)%5].

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.