2.3A Mapping 3D Rotation to RGB

The above definition records a line between two markers and then lofts those lines to create a surface per frame. The three rotational angles of the first line that makes up the loft is being remapped from 0 – PI to 0 – 255 to create a color based on the rotation. That color is applied to each lofted surface.
You can download the above definition here: 3D Rotational Data