ilibaz
A simple linear gradient like `linear-gradient(90deg, #ff0000ff 0%, #00ff00ff 100%)` Results in this: ``` { "colors":[ "#ff0000ff", "#00ff00ff" ], "locations":[ 0, 1 ], "start":{ "x":1, "y":0.49999999999999994 }, "end":{ "x":0, "y":0.5 } } ``` While it should be something like this, according to how it looks (for example [https://cssgradient.io/](https://cssgradient.io/)): ``` { "colors":[ "#ff0000ff", "#00ff00ff" ], "locations":[ 0, 1 ], "start":{ "x":0, "y":0.5 }, "end":{ "x":1, "y":0.5 } } ``` So basically it's rotating starting from a different point than CSS' linear gradient. CSS gradient starts from bottom (if deg === 0) and here it starts from top, that's why angle is treated differenly.