Glimmr Canvas Animation
version 1/111030 by Erik Temple
Chapter - Useful phrases
Section - Mathematical functions
To decide what number is ABS/absolute value/-- of/-- (N - a number):
if N < 0, decide on 0 - N;
decide on N.
[Greatest common divisor function from Ben Cressey: http://www.intfiction.org/forum/viewtopic.php?f=7&t=3424]
To decide what number is the greatest common divisor of (A - a number) and (B - a number):
if b is 0, decide on A;
decide on the greatest common divisor of B and the remainder after dividing A by B.