A method and apparatus for generating a time-lapse video are disclosed. In one embodiment, the method comprises: storing each instruction that is executed by a vector graphics application to create artwork on a display of a computer system during one or more editing sessions as part of an undo history; and generating a time-lapse video using the undo history.