public void apply(Form form, float t) {
      float scale_factor = scaleFactor(t);
      if (scale_factor == 0) {
        return;
      }

      form.size = size * scale_factor;

      float side_length = size * scale_factor;
      if (side_length > size) {
        side_length = size;
      }
      form.x = x * scale_factor;
      form.y = y * scale_factor;
    }