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
Example Embodiment
[0041] Example 1
[0042] See figure 1 , This embodiment provides a method of animation playback, including:
[0043] 101: When an 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;
[0044] 102: Use the first attribute value and the second attribute value as the starting point and the ending point, respectively, and play the animation object according to the first speed value;
[0045] 103: When the audio signal is stopped, if the playback has not ended, stop the playback.
[0046] The animation object in this embodiment refers to the unit in the animation playback. It has many forms and can be a picture. For example, when the animation is playing, the image control (Image) is used to load the picture and change the position, color or size of the picture. Zooming, etc., to achieve animation playback, it can also be path descriptio...
Example Embodiment
[0067] Example 2
[0068] See figure 2 This embodiment provides a method of animation playback, which is described by taking the animation object initially in the playback state as an example, including:
[0069] 201: Use the preset third attribute value and the fourth attribute value as the starting point and the end point, respectively, and play the animation object in a loop 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 played cyclically according to the initial attribute value. For example, the animation object is a bamboo picture, and the initial animation start point is preset at an angle of 0°, and the end point is at an angle of 5°, as shown in Table 1.
[0071] Table 1
[0072] Time (in milliseconds)
[0073] The time value in Table 1 is the speed value of the animation object, and the angle is the property value of the animation object....
Example Embodiment
[0112] Example 3
[0113] See image 3 , This embodiment provides an animation playback device, including:
[0114] The audio start animation playback module 301 is used to obtain the first attribute value of the animation object at the current moment when the audio signal is detected, and determine the second attribute value and the first speed value corresponding to the audio signal; and the first attribute value and The second attribute value is used as the start point and the end point respectively, and the animation object is played according to the first speed value;
[0115] The audio ending animation playing module 302 is used to stop the playing if the above-mentioned playing is not finished when the audio signal is stopped.
[0116] In this embodiment, the foregoing device may further include:
[0117] The initial animation playback module 303 is configured to use the preset third attribute value and the fourth attribute value as the starting point and the end point, respecti...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap