in this case it would be easier to just film the figurine spinning with some old camera :)
i just wanted to automate stop animation production. the script takes a list of jpegs and path to mp4 file with a sound track, then creates small dithered animated gif and mp4 (with audio) files

Alt...
spinning figurine in a music box (just animated gif)