g.js — graphical objects for JavaScript

modmod

Calculate the modulo by dividing two numbers and keeping the remainder.

g.mod(5, 3);

See Also