Method and device for playing animation
An animation and loop playback technology, applied in the field of communication, can solve the problems of monotonous display effect, no animation effect, lack of user interaction, etc., and achieve rich display effect and enhanced interaction effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] see figure 1 , this embodiment provides a method for animation playback, including:
[0043] 101: When an audio signal is detected, acquire the first property value of the animation object at the current moment, and determine the second property value and the first speed value corresponding to the audio signal;
[0044] 102: Use the first attribute value and the second attribute value as the starting point and the end point respectively, and play the animation object according to the first speed value;
[0045] 103: When the audio signal stops, if the playing is not over, stop the playing.
[0046] Animation object in the present embodiment refers to the unit in the animation playing, and it has multiple forms, can be picture, use picture control (Image) to load picture and change the position, color of picture or carry out picture size when playing as animation Zooming, etc., so as to realize animation playback, it can also be a path description (Paths), that is, a c...
Embodiment 2
[0068] see figure 2 , this embodiment provides a method for playing an animation, and the animation object is initially in the playing state as an example for illustration, including:
[0069] 201: Using the preset third attribute value and the fourth attribute value as the starting point and the ending point respectively, play the animation object circularly according to the preset second speed value.
[0070] Wherein, the preset third attribute value and the fourth attribute value are initial attribute values, and the animation object is cyclically played according to the initial attribute values. For example, the animation object is a bamboo picture, and its initial animation starting point is preset at an angle of 0°, and its end point is at an angle of 5°, as shown in Table 1.
[0071] Table 1
[0072] time (in milliseconds)
angle (in degrees)
0 (initialization)
0
2500
5
5000
0
[0073] The time value in T...
Embodiment 3
[0113] see image 3 , the present embodiment provides a device for playing animation, including:
[0114] Audio start animation playing module 301, for when audio signal is detected, obtain the first attribute value of the animation object at the current moment, and determine the second attribute value and the first speed value corresponding to the audio signal; combine the first attribute value and The second attribute value is used as the starting point and the ending point respectively, and the animation object is played according to the first speed value;
[0115] The audio ending animation playing module 302 is configured to stop the playing if the above playing has not ended when the audio signal stops.
[0116] In this embodiment, the above-mentioned device may also include:
[0117] The initial animation playing module 303 is used to use the preset third attribute value and the fourth attribute value as the starting point and end point respectively, and play the anim...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com