code snippet to convert simulated bead motion data into video frame stacks. It requires 3dfmAnalysis matlab program.