Method for displaying displacement of object on display of electronic device
First Claim
1. A method for displaying the displacement of an object on the display of an electronic device, comprising steps of:
- (A) reading the hardware database of said electronic device, and acquiring and displaying a plurality of objects (groups) of data item in a set display window on said display of said electronic device;
(B) calculating the dragging speed at which a user drags said object (group) of data item when said user drags any of said plurality of objects (groups) of data item in said display window;
(C) setting an animation time, and calculating an animation execution distance according to said dragging speed and said animation time;
(C1) modifying said animation execution distance according to said holding height of said plurality of objects (groups) of data item and an initial position of the first object (group) of data item;
(D) setting an amount of animation, distributing said amount of animation evenly to said animation time, and calculating an animation interval;
(E) calculating an animation end time according to said animation interval and the order of animation execution;
(F) calculating a distribution ratio according to said animation end time and a distribution curve, said distribution curve being related to the speed changes of the animations;
(G) calculating a displacement of said order of animation execution according to said distribution ratio and said animation execution distance;
(H) calculating an updated coordinate after said plurality of objects (groups) of data item are displaced according to said displacement, and replotting said displaced plurality of objects (groups) of data item in said display window according said updated coordinate; and
(I) repeating said steps (E) to (I) until said order of animation execution is equal to said amount of animation.
1 Assignment
0 Petitions
Accused Products
Abstract
The method for displaying according to the present invention is used for displaying the displacement of an object (group) on the display of an electronic device. The method calculates an animation interval according to an amount of animation and an animation time; calculates an animation end time according to the animation interval and the order of animation to be executed; calculates a distribution ratio according to the animation end time and a distribution curve; calculates a displacement according to the distribution ratio and an animation execution distance; calculates an updated coordinate according to the displacement after the object (group) is moved; and replots the displaced object (group) in the display window of the display of the electronic device according to the updated coordinate. By calculating the displacement of each step of animation during the animation process, the present invention can present the process of object (group) movement. Thereby, when the object (group) is moving, the animated displaying effects with speed variations can be exhibited.
-
Citations
12 Claims
-
1. A method for displaying the displacement of an object on the display of an electronic device, comprising steps of:
-
(A) reading the hardware database of said electronic device, and acquiring and displaying a plurality of objects (groups) of data item in a set display window on said display of said electronic device; (B) calculating the dragging speed at which a user drags said object (group) of data item when said user drags any of said plurality of objects (groups) of data item in said display window; (C) setting an animation time, and calculating an animation execution distance according to said dragging speed and said animation time; (C1) modifying said animation execution distance according to said holding height of said plurality of objects (groups) of data item and an initial position of the first object (group) of data item; (D) setting an amount of animation, distributing said amount of animation evenly to said animation time, and calculating an animation interval; (E) calculating an animation end time according to said animation interval and the order of animation execution; (F) calculating a distribution ratio according to said animation end time and a distribution curve, said distribution curve being related to the speed changes of the animations; (G) calculating a displacement of said order of animation execution according to said distribution ratio and said animation execution distance; (H) calculating an updated coordinate after said plurality of objects (groups) of data item are displaced according to said displacement, and replotting said displaced plurality of objects (groups) of data item in said display window according said updated coordinate; and (I) repeating said steps (E) to (I) until said order of animation execution is equal to said amount of animation. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for displaying the displacement of an object on the display of an electronic device, comprising steps of:
-
(A) reading the hardware database of said electronic device, and acquiring and displaying at least a toolbar object (group) to be displayed in a set display window on said display of said electronic device; (B) setting an animation time and setting a holding length of said toolbar object (group) as an animation execution distance; (C) setting an amount of animation, distributing said amount of animation evenly to said animation time, and calculating an animation interval; (D) calculating an animation end time according to said animation interval and the order of animation execution; (E) calculating a distribution ratio according to said animation end time and a distribution curve, said distribution curve being related to speed changes of said animations; (F) calculating a displacement of said order of animation execution according to said distribution ratio and said animation execution distance; (G) calculating an updated coordinate after said toolbar object (group) is displaced according to said displacement, and replotting said displaced toolbar object (group) in said display window according said updated coordinate; and (H) repeating said steps (D) to (H) until said order of animation execution is equal to said amount of animation. - View Dependent Claims (9, 10, 11, 12)
-
Specification