Edge-based camera movement, How can I make it smoother/continuous?

So it’s not about smoothness per se, you want specific direction. Let’s say this is our view and the green arrow is my cursor touching the top edge of the play area:

How should the camera move?

  • along the orange vector?
  • along the blue vector?
  • is it only the 100x100 corner that triggers diagonal movement? Or are values in-between also allowed - as in, the camera moves slightly to the right but mostly upwards in this example?