In an equilateral triangle that contains a point, how do you calculate 3 weights that sum to 100% and indicate how much influence each vertex has on the point.
When the point is in the center all the weights are 33%:
And if it's on one edge they should be split between the vertices that share that edge:
This is similar to how an HSL color wheel works:
Best Answer
I ended up using another method to solve this. In the diagram below to calculate the weight for a point, find the distance from the control point to the line opposite it and then divide by the triangle's height.
For the weight of A: