这是最“稳”的 morph:只要两边的 points 有相同数量的数字,
就能直接做平滑过渡(本库会把字符串里的数字逐个插值)。
规则:points 其实就是一串数字:x1 y1 x2 y2 ...。
你想从 A 变到 B,就确保 A/B 的点数量一致(比如都 12 个点)。
.shape { fill: rgba(255,159,67,0.14); stroke: rgba(255,159,67,0.55); stroke-width: 2; }
points 是“数字模板字符串”。本库会识别其中的数字并逐个插值。