Skip to content

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

Open
@BorisChiou

Description

@BorisChiou

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. And it'd be great to provide more details about how to convert a rotate axis and angle into a quaternion.
For example:

  1. Normalize rotate vectors of from and to values.
  2. Convert rotate: x y z Tdeg into quaternion (a, b, c, d) for from and to values.
  3. Do interpolation by SLERP (provided a link)
  4. Convert the interpolated quaternion, (a', b', c', d'), into rotate: x' y' z' T'deg.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions