My question was put a little bit odd but it's kind of hard to explain what I am trying to do. I have 3 points defined in 3D space. They form a triangle and I am trying to find how does moving the points relate to the surface area of the triangle or with other words I am searching the gradient of the triangle's surface area given these 3 points. So my idea is to calculate the gradient for each point individually.
My question is:
If I have a point how to calculate the direction of the vector, that starts from the opposite side of the given point, which is also orthogonal to that side from which it starts .
I tried to draw my idea so it can be a little bit more clear what I am trying to achieve. 
Thanks in advance !
Given points $A$ (left red), $B$ (right red), $C$ (green) one can project vector $AC=C-A$ onto vector $AB=B-A$: $$ u_{AB} = (1/\lVert AB\rVert) \, AB \\ p = ( u_{AB} \cdot AC) \, u_{AB} $$ where $$ \lVert AB \rVert = \sqrt{(B-A)\cdot (B-A)} $$ is the length of $AB$, $\cdot$ is the standard scalar product, and then subtract $$ b = AC - p $$ to get the blue vector $b$.