I am trying to determine an angle of rotation dynamically within an animation for each frame. The object is only rotating on its Z axis and after some research I found that the best method is probably to output a matrix3d using window.getComputedStyle().transform and use that to find the rotateZ().
What I'm wondering is how to find the rotateZ from this matrix? I've seen a bunch of stuff online but most of it is transformations.