[csswg-drafts] [css-transforms-2] Provide more information or a link for the interpolation on rotate property (#4516)

BorisChiou has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms-2] Provide more information or a link for the interpolation on rotate property ==
It would be nice to have interop for the interpolation on rotate property if possible, but at very least "SLERP" in the spec should probably link to somewhere, e.g. [interpolation on quaternion vectors](https://drafts.csswg.org/css-transforms-2/#interpolation-of-decomposed-3d-matrix-values). And it'd be great to provide more details about how to convert a rotate axis and angle into a quaternion.
For example:
1. Convert `rotate: x y z Tdeg` into quaternion `(a, b, c, d)` for from and to values.
2. Do interpolation by SLERP (provided a link)
3. Convert the interpolated quaternion, `(a', b', c', d')`, into `rotate: x' y' z' T'deg`.

If (1) (3) are included in the decomposing/recomposing of the 4x4 matrix, perhaps we should explicitly mention it.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4516 using your GitHub account

Received on Monday, 18 November 2019 22:56:18 UTC