Barycentric Coordinates

Drag the point (P) or triangle vertices — coordinates show the weighted mixture of corners

λ₁ = 0.333 | λ₂ = 0.333 | λ₃ = 0.333 | sum = 1.000
Interpolated color: (85, 85, 255)

Barycentric coordinates (λ₁, λ₂, λ₃) express any point P as a weighted sum of triangle vertices: P = λ₁A + λ₂B + λ₃C with λ₁+λ₂+λ₃=1. They enable smooth color/attribute interpolation in rasterized 3D graphics and physics simulations.