Trying to Script Time in ClearVolume

hello!
I’ve been trying to use clearVolume without the GUI by going through the code documentation on github. I’ve been able to get a 3D image to pop up, rotate, and show multiple channels, but I haven’t been able to script a time component. I’ve been creating a renderer with r ImgLib2ClearVolume.showRealImgs function to show the image, created a rotation controller to rotate the image, and I’ve been using transferFunctions for color/channels. It seems like the time component has to do with a JSlider, but I haven’t been able to get anything to work. Could you give me some guidance?