W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

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

From: Boris Chiou via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Nov 2019 22:56:13 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-524668936-1574117772-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC