p
a
= (
)
p
b
= (
)
p
c
= (
)
拖动顶点到任意位置(方向键微调,空格切换顶点)。fragment 的 center 落在三角形内才会产生,颜色由 center 处的重心坐标插值得到。