Skinning and particle simulation using verlet integration
Install apitrace
Generate the trace
apitrace trace ./Program
Encode the video
apitrace dump-images -o - Program.trace \
| ffmpeg -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset veryslow -y Program.mp4