CPC G06T 13/00 (2013.01) [G06F 16/972 (2019.01); G06F 16/986 (2019.01); G06F 40/143 (2020.01); G06T 11/203 (2013.01); G06T 13/20 (2013.01); G06T 17/005 (2013.01)] | 20 Claims |
1. A method of generating animations, comprising:
receiving, by a computing device, an element corresponding to a first node of a document object model (DOM) tree;
identifying, by the computing device, a segment corresponding to a motion path for the element, the segment having a degree of freedom;
inserting, by the computing device, into the DOM tree, a second node having the first node as a child to include a characteristic of the first node, the second node defining a rendering instruction in the degree of freedom along the segment of the motion for the element; and
storing, by the computing device, the DOM tree including the first node and the second node for animation of the element.
|