1. A system, comprising: at least one processor; and a memory coupled to the at least one processor, wherein the memory stores program instructions, and wherein the program instructions are executable by the at least one processor to: display, via a graphical user interface, a representation of a document, wherein the document includes a programmatic component configured to create an animation by manipulating a structure of the document, wherein a static structure of the document corresponds to the structure of the document when the animation is not performed, and wherein the animation, upon execution, is rendered starting from an original base state that at least partially defines the static structure; in response to receiving a selection corresponding to a state of the animation, designate the selected state as a new base state, wherein the new base state is different from the original base state; and alter the static structure of the document to correspond to the new base state.