generate video pixel by pixel, programmatically checkout VPython. Its pretty easy and can do what you are looking for.