CN106126059B - Animated button device and display methods based on parameter - Google Patents

Animated button device and display methods based on parameter Download PDF

Info

Publication number
CN106126059B
CN106126059B CN201610443342.XA CN201610443342A CN106126059B CN 106126059 B CN106126059 B CN 106126059B CN 201610443342 A CN201610443342 A CN 201610443342A CN 106126059 B CN106126059 B CN 106126059B
Authority
CN
China
Prior art keywords
variable
animation
value
syscount
jump
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610443342.XA
Other languages
Chinese (zh)
Other versions
CN106126059A (en
Inventor
管皓
张景中
张中文
尧刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jingzhong Educational Software Co Ltd
Original Assignee
Chengdu Jingzhong Educational Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jingzhong Educational Software Co Ltd filed Critical Chengdu Jingzhong Educational Software Co Ltd
Priority to CN201610443342.XA priority Critical patent/CN106126059B/en
Publication of CN106126059A publication Critical patent/CN106126059A/en
Application granted granted Critical
Publication of CN106126059B publication Critical patent/CN106126059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites

Abstract

The invention discloses a kind of animated button device and display methods based on parameter, I) start play when, judge the sequence type of the animation, if parallel animation, then enter II) step;If serial animation then enters IV) step;II) in parallel animation, the greatest common factor (G.C.F.) of the movement space of multiple variables is calculated, as synchronous base interval;III) each variable is calculated separately out in step II) actual motion step-length under calculated base interval and required times of exercise;IV) it is corresponding primary parallel according to the execution of the type of animation, or repeat parallel, or reciprocal parallel, or primary serial, or repetition is serial, or reciprocal serial animation process.Present invention reduces users to create compound and animation sequence operation difficulty;And perfect animation types and sequence, substantially enhance dynamic geometry animated function.

Description

Animated button device and display methods based on parameter
Technical field
The present invention relates to the application software technology fields of dynamic geometry, and in particular to a kind of animated button dress based on parameter It sets and display methods.
Background technique
Application software based on dynamic geometry is mainly used for the Teaching Aid Software of the natural sciences such as mathematics, physics;It is therein dynamic Control button is drawn, is changed by control parameter, achievees the effect that geometric properties constant between Dynamic Display graphic element.Such as The range of parameter u000 is 0-1, and the position that value controls the semi-free point on a line segment (can be the point to line segment starting point Distance and line segment length ratio);Similarly point, the coordinate points indicated by mathematic(al) representation etc. on curve, are all by different Variable constrains their geometric position.Existing animated button generally designates the name variable of control, sets gradually rising for variable Initial value, stop value, times of exercise, motion frequency etc. control information.When the user clicks when animated button, system process flow is such as Under: a. material calculation: the stop value of variable subtracts initial value divided by times of exercise, obtains the step-length needed for moving every time;B. fixed When calculate: according to the motion frequency of user setting, program timing function is used to carry out operation: it is current that the value of variable is equal to variable The step-length that value is calculated plus before;C. traverse geometric element: traversal geometric element relevant to the variable updates these geometry member The position of element and geological information, reach the animation effect of geometric element;D. it after times of exercise reaches preset times of exercise, moves It draws and stops.
The shortcomings that prior art: 1. 1 animated buttons are typically only capable to one variable of control, can not easily realize complexity Combined animation: if necessary to control the variation of multiple geometric elements simultaneously, then must by these geometric elements all with the same variable It is associated, increases using difficulty.2. the initial value of animation, stop value, times of exercise, motion frequency are both configured to specific number Value, can not dynamically modify;Also common data iteration is unable to complete in mathematics;3. animation types are single: it is defaulted as once moving, Terminate from initial value according to preset times of exercise, frequency movement to stop value;It cannot achieve animation sequence, the direction of motion Deng.
Summary of the invention
The present invention overcomes the deficiencies in the prior art, provide a kind of animated button device and display methods based on parameter, It is intended to be able to achieve complicated compound animation, achievees the purpose that abundant animated function.
In view of the above problem of the prior art, according to one aspect of the present disclosure, the present invention uses following technology Scheme:
A kind of animated button device based on parameter, it includes:
Sequence judgment module, for judging that extension animation sequence type is serial or parallel;
Computing module, for the greatest common factor (G.C.F.) of the movement space of multiple variables being calculated, as synchronous in parallel animation Base interval;And calculate separately out actual motion step-length and required times of exercise of each variable under base interval;
Animation types execution module, the type execution of the animation for basis is corresponding primary parallel, or repeats parallel, or It is reciprocal parallel, or once serially, or repetition is serial, or reciprocal serial animation process.
The present invention may also is that
A method of the animated button device based on parameter shows that it includes:
I) start play when, judge the sequence type of the animation, if parallel animation, then enter II) step;If serial Animation then enters IV) step;
II) in parallel animation, the greatest common factor (G.C.F.) of the movement space of multiple variables is calculated, as synchronous base interval;
III) each variable is calculated separately out in step II) actual motion step-length under calculated base interval and required Times of exercise;
IV) it is corresponding primary parallel according to the execution of the type of animation, or repeat parallel, or reciprocal parallel, or primary serial, Or it repeats serially, or reciprocal serial animation process.
In order to which the present invention is better achieved, further technical solution is:
An embodiment according to the present invention, a concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0, and animation end identifier isEnd is set to true;
3) judge the global times of exercise for counting and whether being less than current i-th of variable, if it is jump to the 6) step;
4) animation end identifier isEnd is set to false, indicates the animation that do not complete there are also variable;
5) value of i-th of variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
6) target variable i under marking variable ++;
7) judge whether i is less than the total quantity -1 of variable, if otherwise jumping to step 3;
8) judge whether isEnd is false, if it is jumps to step 9, otherwise jumps to step 11;
9) global to count sysCount++;
10) after the time interval for waiting realTimer, step 2 is jumped to;
11) terminate.
Another embodiment according to the present invention, it is described repeat concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0;
3) judge whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, if it is jump to step 5, Otherwise step 4 is jumped to;
4) value of i-th of variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) value of i-th of variable is set to the initial value of variable;
6) global to count sysCount++;
7) judge whether i is less than the quantity -1 of variable, if it is jump to step 9, if otherwise jumping to step 8;
8) variable subscript i++, and jump to step 3;
9) after the time interval for waiting realTimer, step 2 is jumped to.
Another embodiment according to the present invention, the reciprocal concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0;
3) judge whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, if it is jump to step 5, Otherwise step 4 is jumped to;
4) value of the i-th variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) step-length of i-th of variable is negated;
6) global to count sysCount++;
7) judge whether i is less than the quantity -1 of variable, if it is jump to step 9, if otherwise jumping to step 8;
8) variable subscript i++, and jump to step 3;
9) after the time interval for waiting realTimer, step 2 is jumped to.
Another embodiment according to the present invention, a serial kinematic the realization process includes:
1) the subscript i for identifying current variable object is set to 0;
2) global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3) judge whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, if it is jump to the 6th Step, if otherwise jumping to step 4;
4) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) global to count sysCount++, and jump to step 9;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 8;
7) subscript i++ jumps to step 2;
8) terminate;
9) after the time interval for waiting i-th of variable, step 3 is jumped to.
Another embodiment according to the present invention, it is described repeat serial kinematic the realization process includes:
1) the subscript i for identifying current variable object is set to 0;
2) global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3) judge whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, if it is jump to the 6th Step, if otherwise jumping to step 4;
4) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) global to count sysCount++, and jump to step 8;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 8;
7) subscript i++ jumps to step 2;
8) after the time interval for waiting i-th of variable, step 3 is jumped to.
Another embodiment according to the present invention, the serial kinematic repeatedly the realization process includes:
1) the subscript i of marking variable is set to 0;
2) overall situation is counted into sysCount and is set to 0, the value of i-th of variable is set to initial value;
3) judge whether sysCount and the pre- times of exercise modulus of i-th of variable are equal to 0, if it is jump to the 4th Step, if otherwise jumping to step 9;
4) step-length of i-th of variable is negated;
5) initial value of i-th of variable is set to i-th of variable current value;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 1;
7) the subscript i++ of marking variable, and jump to step 2;
8) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
9) global to count sysCount++;
10) after the time interval for waiting i-th of variable, step 3 is jumped to.
Compared with prior art, beneficial effects of the present invention first is that:
A kind of animated button device and display methods based on parameter of the invention, button are supported while controlling multiple changes Amount;Initial value, stop value, times of exercise and the motion frequency of each variable can be respectively set;Animation types are extended, are supported Primary movement, repeating motion and reciprocating motion;Animation sequence is extended, can be concurrently or sequentially;Its animation formed movement Process can be realized complicated compound animation, achieve the purpose that abundant animated function, it can be achieved that six kinds of different animation effects;This Invention reduces user and creates compound and animation sequence operation difficulty;And perfect animation types and sequence, substantially enhance Dynamic geometry animated function.
Detailed description of the invention
Illustrate present specification embodiment or technical solution in the prior art in order to clearer, it below will be to embodiment Or attached drawing needed in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only It is the reference to embodiments some in present specification, for those skilled in the art, what is do not made the creative labor In the case of, other attached drawings can also be obtained according to these attached drawings.
Fig. 1 shows animation flow for displaying schematic diagram according to an embodiment of the invention.
Fig. 2 shows a concurrent movement flow diagrams according to an embodiment of the invention.
Fig. 3 shows repetition concurrent movement flow diagram according to an embodiment of the invention.
Fig. 4 shows reciprocal concurrent movement flow diagram according to an embodiment of the invention.
Fig. 5 shows a serial kinematic flow diagram according to an embodiment of the invention.
Fig. 6 shows repetition serial kinematic flow diagram according to an embodiment of the invention.
Fig. 7 shows serial kinematic flow diagram repeatedly according to an embodiment of the invention.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
The shortcomings that make up existing animation, facilitates user to create complicated animation sequence, technical solution of the present invention Basic ideas are as follows:
A. button is supported while controlling multiple variables;
B. initial value, stop value, times of exercise and the motion frequency of each variable can be respectively set;
C. it extends animation types: supporting primary movement, repeating motion, reciprocating motion;
D. animation sequence is extended: parallel, serial.
Based on the above thinking, the animated button of the program can be supported to control multiple variables simultaneously, set respectively to each variable Set initial value, stop value, times of exercise and motion frequency;It is combined by three kinds of animation types and two kinds of animation sequences, it is overall Implementation process is as shown in Figure 1, Fig. 1 shows animation flow for displaying schematic diagram according to an embodiment of the invention.
A kind of animated button device based on parameter, it includes:
Sequence judgment module, for judging that extension animation sequence type is serial or parallel;
Computing module, for the greatest common factor (G.C.F.) of the movement space of multiple variables being calculated, as synchronous in parallel animation Base interval;And calculate separately out actual motion step-length and required times of exercise of each variable under base interval;
Animation types execution module, the type execution of the animation for basis is corresponding primary parallel, or repeats parallel, or It is reciprocal parallel, or once serially, or repetition is serial, or reciprocal serial animation process.
It is shown in Figure 1, a method of the animated button device based on parameter shows that it includes:
I) start play when, judge the sequence type of the animation, if parallel animation, then enter II) step;If serial Animation then enters IV) step;
II) in parallel animation, the greatest common factor (G.C.F.) of the movement space of multiple variables is calculated, as synchronous base interval;
III) each variable is calculated separately out in step II) actual motion step-length under calculated base interval and required Times of exercise;
IV) it is corresponding primary parallel according to the execution of the type of animation, or repeat parallel, or reciprocal parallel, or primary serial, Or it repeats serially, or reciprocal serial animation process.
Based on exemplary explanation:
A. actual interval is calculated: the movement space GCD (greatest common factor (G.C.F.)) by calculating all variables, as concurrent movement When each variable synchronised clock interval;
B. the increment of each variable movement is calculated separately, formula is as follows:
Wherein: endVal, the stop value of variable movement;
StartVal, the initial value of variable movement;
RealTimer, the actual interval that previous step calculates;
UserNum, the times of exercise of user preset;
UserTimer, the time interval of user preset;
C. each variable is calculated separately in new time interval and increment, calculates actual times of exercise:
Num=(endVal-startVal)/realStep.
As known from the above, it is combined by three kinds of animation types and two kinds of animation sequences, final available six kinds of animations effect Each animation specific implementation process is described in detail in fruit separately below:
As shown in Fig. 2, Fig. 2 shows a concurrent movement flow diagrams according to an embodiment of the invention, once The detailed process of concurrent movement:
1, the overall situation is counted into sysCount and is set to 0;
2, the subscript i for identifying current variable object is set to 0, and animation end identifier isEnd is set to true;
3, judge the global times of exercise for counting and whether being less than current i-th of variable, if it is jump to step 6;
4, animation end identifier isEnd is set to false, indicates the animation that do not complete there are also variable;
5, the value of i-th of variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
6, target variable i under marking variable ++;
7, judge whether i is less than the total quantity -1 of variable, if otherwise jumping to step 3;
8, judge whether isEnd is false, if it is jumps to step 9, otherwise jumps to step 11;
9, global to count sysCount++;
10, after the time interval for waiting realTimer, step 2 is jumped to;
11, terminate.
Illustrate: the times of exercise of sysCount, current system count;The global of total times of exercise is identified to count from increasing 1;
I, the index of variable array;I++, target is counted from increasing 1 under marking variable;
IsEnd identifies whether that all variables are all completed to move;
Varis, variable object array;
Varis [i] .num, the number that i-th of variable of user preset should move;
Varis [i] .val, the value of current variable, calculation are as follows:
Vairs [i] .val+vairs [i] .step (step-length).
As shown in figure 3, Fig. 3 shows repetition concurrent movement flow diagram according to an embodiment of the invention, repeat The detailed process of concurrent movement:
1. the overall situation, which is counted sysCount, is set to 0;
2. the subscript i for identifying current variable object is set to 0;
3. judging whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, step 5 is if it is jumped to, Otherwise step 4 is jumped to;
4. calculating and modifying the value of i-th of variable, calculation method is that the value of current variable adds the increment of current variable;
5. the value of i-th of variable to be set to the initial value of variable;
6. the overall situation counts sysCount++;
7. judging whether i is less than the quantity -1 of variable, step 9 is if it is jumped to, if otherwise jumping to step 8;
8. variable subscript i++, and jump to step 3;
9. jumping to step 2 after the time interval for waiting realTimer.
As shown in figure 4, Fig. 4 shows reciprocal concurrent movement flow diagram according to an embodiment of the invention, back and forth The detailed process of concurrent movement:
1. the overall situation, which is counted sysCount, is set to 0;
2. the subscript i for identifying current variable object is set to 0;
3. judging whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, step 5 is if it is jumped to, Otherwise step 4 is jumped to;
4. calculating and modifying the value of the i-th variable, calculation method is that the value of current variable adds the increment of current variable;
5. the step-length of i-th of variable is negated;
6. the overall situation counts sysCount++;
7. judging whether i is less than the quantity -1 of variable, step 9 is if it is jumped to, if otherwise jumping to step 8;
8. variable subscript i++, and jump to step 3;
9. jumping to step 2 after the time interval for waiting realTimer.
As shown in figure 5, Fig. 5 shows a serial kinematic flow diagram according to an embodiment of the invention, once The detailed process of serial kinematic:
1. the subscript i for identifying current variable object is set to 0;
2. global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3. judging whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, the 6th is if it is jumped to Step, if otherwise jumping to step 4;
4. calculating and modifying the value of current variable, calculation method is that the value of current variable adds the increment of current variable;
5. the overall situation counts sysCount++, and jumps to step 9;
6. judging whether i is less than the quantity -1 of variable, step 7 is if it is jumped to, if otherwise jumping to step 8;
7. subscript i++, jumps to step 2;
8. terminating;
9. jumping to step 3 after the time interval for waiting i-th of variable;
Illustrate: i, index of the specified variable currently moved in array;
SysCount, the counting how many times of current variable movement;
Varis [i] .val, i-th of variable current value;
Varis [i] .num, the initial value of i-th of variable animation;
Varis [i] .step, the step-length of i-th of specification of variables.
As shown in fig. 6, Fig. 6 shows repetition serial kinematic flow diagram according to an embodiment of the invention, repeat The detailed process of serial kinematic:
1. the subscript i for identifying current variable object is set to 0;
2. global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3. judging whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, the 6th is if it is jumped to Step, if otherwise jumping to step 4;
4. calculating and modifying the value of current variable, calculation method is that the value of current variable adds the increment of current variable;
5. the overall situation counts sysCount++, and jumps to step 8;
6. judging whether i is less than the quantity -1 of variable, step 7 is if it is jumped to, if otherwise jumping to step 8;
7. subscript i++, jumps to step 2;
8. jumping to step 3 after the time interval for waiting i-th of variable.
As shown in fig. 7, Fig. 7 shows serial kinematic flow diagram repeatedly according to an embodiment of the invention, repeatedly The detailed process of serial kinematic:
1. the subscript i of marking variable is set to 0;
2. the overall situation, which is counted sysCount, is set to 0, the value of i-th of variable is set to initial value;
3. judging whether sysCount and the pre- times of exercise modulus of i-th of variable are equal to 0, the 4th is if it is jumped to Step, if otherwise jumping to step 9;
4. the step-length of i-th of variable is negated;
5. the initial value of i-th of variable is set to i-th of variable current value;
6. judging whether i is less than the quantity -1 of variable, step 7 is if it is jumped to, if otherwise jumping to step 8;
7. the subscript i++ of marking variable, and jump to step 2;
8. jumping to step 1;
9. calculating and modifying the value of current variable, calculation method is that the value of current variable adds the increment of current variable;
10. the overall situation counts sysCount++;
11. jumping to step 3 after the time interval for waiting i-th of variable.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, the same or similar parts in each embodiment cross-reference.
" one embodiment " for being spoken of in the present specification, " another embodiment ", " embodiment ", etc., refer to tying Specific features, structure or the feature for closing embodiment description include at least one embodiment described in the application generality In.It is not centainly to refer to the same embodiment that statement of the same race, which occur, in multiple places in the description.Appoint furthermore, it is understood that combining When one embodiment describes a specific features, structure or feature, to be advocated be realized in conjunction with other embodiments it is this Feature, structure or feature are also fallen within the scope of the present invention.
Although reference be made herein to invention has been described for multiple explanatory embodiments of the invention, however, it is to be understood that Those skilled in the art can be designed that a lot of other modification and implementations, these modifications and implementations will fall in this Shen It please be within disclosed scope and spirit.It more specifically, within the scope of the present disclosure and claims, can be to master The building block and/or layout for inscribing composite configuration carry out a variety of variations and modifications.In addition to what is carried out to building block and/or layout Outside variations and modifications, to those skilled in the art, other purposes also be will be apparent.

Claims (6)

1. a kind of method that the animated button device based on parameter is shown, it is characterised in that animated button device includes:
Sequence judgment module, for judging that extension animation sequence type is serial or parallel;
Computing module, for the greatest common factor (G.C.F.) of the movement space of multiple variables being calculated, as synchronous benchmark in parallel animation Interval;And calculate separately out actual motion step-length and required times of exercise of each variable under base interval;
Animation types execution module, the type execution of the animation for basis is corresponding primary parallel, or repeats parallel, or reciprocal Parallel, or it is primary serial, or repeat serially, or reciprocal serial animation process;
The method includes:
I) start play when, judge the sequence type of the animation, if parallel animation, then enter II) step;If serial animation Then enter IV) step;
II) in parallel animation, the greatest common factor (G.C.F.) of the movement space of multiple variables is calculated, as synchronous base interval;
III) each variable is calculated separately out in step II) actual motion step-length and required fortune under calculated base interval Dynamic number;
IV) it is corresponding primary parallel according to the execution of the type of animation, or repeat parallel, or reciprocal parallel, or primary serial, or again It is multiple serial, or reciprocal serial animation process;
Concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0, and animation end identifier isEnd is set to true;
3) judge the global times of exercise for counting and whether being less than current i-th of variable, if it is jump to the 6) step;
4) animation end identifier isEnd is set to false, indicates the animation that do not complete there are also variable;
5) value of i-th of variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
6) target variable i under marking variable ++;
7) judge whether i is less than the total quantity -1 of variable, if otherwise jumping to step 3;
8) judge whether isEnd is false, if it is jumps to step 9, otherwise jumps to step 11;
9) global to count sysCount++;
10) after the time interval for waiting realTimer, step 2 is jumped to;
11) terminate.
2. the method that the animated button device according to claim 1 based on parameter is shown, it is characterised in that the repetition Concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0;
3) judge whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, if it is jump to step 5, otherwise Jump to step 4;
4) value of i-th of variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) value of i-th of variable is set to the initial value of variable;
6) global to count sysCount++;
7) judge whether i is less than the quantity -1 of variable, if it is jump to step 9, if otherwise jumping to step 8;
8) variable subscript i++, and jump to step 3;
9) after the time interval for waiting realTimer, step 2 is jumped to.
3. the method that the animated button device according to claim 1 based on parameter is shown, it is characterised in that described reciprocal Concurrent movement the realization process includes:
1) overall situation is counted into sysCount and is set to 0;
2) the subscript i for identifying current variable object is set to 0;
3) judge whether sysCount and the times of exercise modulus of i-th of variable are equal to 0, if it is jump to step 5, otherwise Jump to step 4;
4) value of the i-th variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) step-length of i-th of variable is negated;
6) global to count sysCount++;
7) judge whether i is less than the quantity -1 of variable, if it is jump to step 9, if otherwise jumping to step 8
8) variable subscript i++, and jump to step 3;
9) after the time interval for waiting realTimer, step 2 is jumped to.
4. the method that the animated button device according to claim 1 based on parameter is shown, it is characterised in that described primary Serial kinematic the realization process includes:
1) the subscript i for identifying current variable object is set to 0;
2) global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3) judge whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, if it is jump to step 6, such as Otherwise fruit jumps to step 4;
4) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) global to count sysCount++, and jump to step 9;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 8;
7) subscript i++ jumps to step 2;
8) after the time interval for waiting i-th of variable, step 3 is jumped to.
5. the method that the animated button device according to claim 1 based on parameter is shown, it is characterised in that the repetition Serial kinematic the realization process includes:
1) the subscript i for identifying current variable object is set to 0;
2) global counter sysCount is set to 0, and the value of i-th of variable is set to initial value;
3) judge whether sysCount and the times of exercise modulus value of i-th of variable are equal to 0, if it is jump to step 6, such as Otherwise fruit jumps to step 4;
4) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
5) global to count sysCount++, and jump to step 8;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 8
7) subscript i++ jumps to step 2;
8) after the time interval for waiting i-th of variable, step 3 is jumped to.
6. the method that the animated button device according to claim 1 based on parameter is shown, it is characterised in that described reciprocal Serial kinematic the realization process includes:
1) the subscript i of marking variable is set to 0;
2) overall situation is counted into sysCount and is set to 0, the value of i-th of variable is set to initial value;
3) judge whether sysCount and the pre- times of exercise modulus of i-th of variable are equal to 0, if it is jump to step 4, such as Otherwise fruit jumps to step 9;
4) step-length of i-th of variable is negated;
5) initial value of i-th of variable is set to i-th of variable current value;
6) judge whether i is less than the quantity -1 of variable, if it is jump to step 7, if otherwise jumping to step 1;
7) the subscript i++ of marking variable, and jump to step 2;
8) value of current variable is calculated and modifies, calculation method is that the value of current variable adds the increment of current variable;
9) global to count sysCount++;
10) after the time interval for waiting i-th of variable, step 3 is jumped to.
CN201610443342.XA 2016-06-20 2016-06-20 Animated button device and display methods based on parameter Active CN106126059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610443342.XA CN106126059B (en) 2016-06-20 2016-06-20 Animated button device and display methods based on parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610443342.XA CN106126059B (en) 2016-06-20 2016-06-20 Animated button device and display methods based on parameter

Publications (2)

Publication Number Publication Date
CN106126059A CN106126059A (en) 2016-11-16
CN106126059B true CN106126059B (en) 2019-03-05

Family

ID=57471157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610443342.XA Active CN106126059B (en) 2016-06-20 2016-06-20 Animated button device and display methods based on parameter

Country Status (1)

Country Link
CN (1) CN106126059B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358780A (en) * 2018-09-06 2019-02-19 传线网络科技(上海)有限公司 Method for showing interface and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574481A (en) * 2015-01-26 2015-04-29 北京科艺有容科技有限责任公司 Nonlinear modification method for 3D character animation
CN105677630A (en) * 2016-03-30 2016-06-15 成都景中教育软件有限公司 Electronic book system based on dynamic geometry and computer algebraic system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2300129C1 (en) * 2005-12-20 2007-05-27 Общество с ограниченной ответственностью "Майкрокс" Data input method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574481A (en) * 2015-01-26 2015-04-29 北京科艺有容科技有限责任公司 Nonlinear modification method for 3D character animation
CN105677630A (en) * 2016-03-30 2016-06-15 成都景中教育软件有限公司 Electronic book system based on dynamic geometry and computer algebraic system

Also Published As

Publication number Publication date
CN106126059A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN105719351B (en) A kind of method and apparatus of display electronic map
CN105975181B (en) The display control method and device at sideslip interface
US10867251B2 (en) Estimation results display system, estimation results display method, and estimation results display program
CN104639725A (en) Interface switching method and device
CN110023856A (en) The method and computing device of motion outline are generated by using S type curve
CN105320012A (en) Multimedia dynamic stage control method and system
CN103399543A (en) Method and system for scheduling multiple robot equipment cooperated for transferring wafers
CN106126059B (en) Animated button device and display methods based on parameter
CN105138315B (en) A kind of virtual assembly system based on Visual Basic and EON Studio
CN110503581A (en) Visualization training system based on Unity3D
CN104574481A (en) Nonlinear modification method for 3D character animation
CN109816792A (en) Localization method and device in a kind of three-dimensional scenic
US20110161060A1 (en) Optimization-Based exact formulation and solution of crowd simulation in virtual worlds
CN106303652A (en) The method for drafting of a kind of interface element and device
CN107220048B (en) Audio frequency spectrum and progress bar superposition method
CN104813267A (en) Method and system for generating crowd animation and computer-readable recording medium
EP3211569A1 (en) Estimation results display system, estimation results display method, and estimation results display program
CN106775093A (en) A kind of contact action control method and device
CN105009008B (en) Controller, time diagram producing device
CN105224204B (en) parameter input method and device
CN102662589B (en) Method and device for improving operation of menu of smart phone
Hu et al. A rapid development method of virtual assembly experiments based on 3d game engine
CN102591646B (en) Method for simultaneously scaling multiple WPF (Windows presentation foundation) windows and device
CN106033349A (en) Object position adjusting method and device
CN102024201B (en) Method for progressively and automatically generating visual layout of nodes of power transmission network plant

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant