主权项 |
1. A method for transitioning between data visualizations, the method comprising:
determining, by a computer system, a first general path that defines a first shape and a second general path that defines a second shape, wherein:
the first shape and the second shape are different shapes,the first general path comprises a first plurality of drawing commands that define the first shape, andthe second general path comprises a second plurality of drawing commands that define the second shape; creating, by the computer system, a plurality of pairs of drawing commands such that each pair of the plurality of pairs of drawing commands includes a first drawing command from the first plurality of drawing commands of the first general path and a second drawing command from the second plurality of drawing commands of the second general path; modifying, by the computer system, the plurality of pairs of drawing commands such that each pair of the plurality of pairs of drawing commands includes a single type of drawing command; and outputting, by the computer system for presentation, a transition between the first shape and the second shape using the modified plurality of pairs of drawing commands. |