static step0(n) {
    return n > 0 ? 1 : 0;
  }
This class implements common easing functions. The math is pretty obscure,
but this cool website has nice visual illustrations of what they represent:
http://xaedes.de/dev/transitions/