Hello everyone,
I'm working with animation data exported from Spine in JSON format, which includes curve values in an eight-value format. These values differ from the typical four-value cubic Bezier curve format that I am more familiar with. Here's an example of the Spine curve data from my export:
{
"time": 0.0333,
"y": 222.96,
"curve": [0.109, 0, 0.094, 0, 0.109, 217.51, 0.094, -6.33]
}
I'm trying to understand how I can convert these Spine-specific curve values into standard cubic Bezier curves. For instance, for the above curve data, a near equivalent in standard cubic Bezier format appears to be (0.26, 0.06, 0.21, 0.97)
.
Could anyone please explain or provide guidance on how to perform this conversion accurately? Are there specific tools or scripts that facilitate this conversion? Any insights or references to documentation would be greatly appreciated.
Thank you!