Animation of series of rotations I have many lists of rotation matrices for one object. The lists have different lengths. For each list I would like to obtain an animation where the rotations are performed one after the other in the order of the list.

This could be done with a sequence of "animate matrix" nodes where the result of the first node goes into the "start" input of the second node etc. "Delay time nodes" would control the start of rotations.

However, this approach requires that the node tree is changed for each list, depending on the length of the list.

Is there a way to obtain a node tree that works for any length of the list of rotation matrices?
First, we are going to compute what you might call the Accumulated Transformation of each matrix in the list, this accumulated transformation is simply the result of multiplication of all the matrices in the list before that matrix. This is done using this simple loop:



Notice that the Matrix parameter is initially identity matrix. Then we are going to use the same principle describe in this answer to animate between all the accumulated transformations as follows: