👩💻 Join our community of thousands of amazing developers!
Barycentric coordinates describe the position of a point relative to the three vertices of a triangle. Trilinear coordinates describe the position of a point relative to the three sides of a triangle. It’s surprisingly simple to convert from one to the other. Why should this be surprising? Because the distance from a point to a […] The post Converting between barycentric and trilinear coordinates first appeared on John D. Cook....