Context('2d');
    ctx.clearRect(0, 0, elem.width, elem.height);

    var deleteTheseWaves = [];
    // The oldest wave's touch down duration
    var longestTouchDownDuration = 0;
    var longestTouchUpDuration = 0;
    // Save the last known wave color
    var lastWaveColor = null;

    for (var i = 0; i < scope.waves.length; i++) {
      var wave = scope.waves[i];

      if (wave.mouseDownStart > 0) {
        wave.tDown = now() - wave.mouseDownStart;
      }
      if (wave.mouseUpStart > 0) {
        wave