A frame generator to create custom animations