this post is discussing the conversion from barycentric coordinates to Cartesian coordinates.
it seems that the figure (fig_1) only illustrates 3 points
B(0,0,1), A(0,1,0), C(1,0,0)
i am trying to understand the conversion, here is my code
x_inner = np.array([0.375, 0.5 , 0.625, 0.375])
y_inner = np.array([0.21650635, 0.4330127 , 0.21650635, 0.21650635])
x_outer = np.array([0. , 0.5, 1. , 0. ])
y_outer = np.array([0. , 0.8660254, 0. , 0. ])
plt.plot(x_outer,y_outer)
plt.plot(x_inner,y_inner,c='tab:orange')
plt.scatter(x_outer, y_outer)
plt.scatter(x_inner, y_inner)
the values constitute the coordinates array come from the original post.
here is the output.
the inner orange triangle consists of 3 vertices which correspond to the points (1/4,1/4,1/2), (1/4,1/2,1/4), (1/2,1/4,1/4) in original barycentric coordinates.
the question is, how to get a smaller triangle like 1/10 of the orange one.
ps: sorry for fig_1 doesn't match the true values.