code: function fpsToPoint(index, fps_val, min, delta) {
              return [
                  canvas_w - index,
                  canvas_h - canvas_h * (fps_val - min) / delta
              ];
          }
docs: convert an fps value to an [x,y] array