Barycentriska
Barycentriska refers to barycentric coordinates, a coordinate system used to describe a point within a simplex in terms of its relationship to the vertices of that simplex. A simplex is a generalization of a triangle or tetrahedron to any number of dimensions. For a triangle, the vertices are A, B, and C. Any point P inside or on the boundary of the triangle can be represented as a weighted average of these vertices.
The barycentric coordinates of a point P with respect to a simplex with vertices V0, V1, ..., Vn
If all the barycentric coordinates are non-negative (λi ≥ 0 for all i), then the point P lies
Barycentric coordinates are widely used in various fields, including computer graphics for interpolation (e.g., color or