Method, device, apparatus and storage medium for realizing dynamic effect of water ripple
A technology of water ripples and horizontal motion, applied in the field of image processing, can solve problems such as performance bottlenecks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a flow chart of the method for realizing the water ripple dynamic effect provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the situation of realizing the dynamic effect of water ripples. The method can be executed by the device for realizing the water ripple motion effect provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and configured to be applied in a processor. The method specifically includes the following steps:
[0050] S101. Obtain the cycle number of the preset cycle curve that can be accommodated in the display window of the control, as the display cycle number.
[0051] Among them, the preset periodic function is generated by the preset periodic function. For the function y=f(x), if there is a non-zero constant T, so that when x takes every value in the domain, f(x+T) = f(x) is established, then the function y...
Embodiment 2
[0075] Figure 6 It is a flow chart of the method for realizing the water ripple dynamic effect provided by the second embodiment of the present invention. On the basis of the foregoing embodiments, the embodiment of the present invention adds a step of displaying the percentage of the current process of the target object. Correspondingly, the method of this embodiment includes:
[0076] S1001. Obtain the percentage of the current process of the target object.
[0077] The water ripple effect is usually used to indicate the percentage of the current process of the target object, such as the percentage of song downloads. As time goes by, the percentage of song downloads will increase. Therefore, in order to accurately reflect the download process of the song in real time, it is necessary to detect the song Change in download percentage. Based on this, this embodiment obtains the song download percentage based on the preset forward movement times of the image. For example, if...
Embodiment 3
[0088] Figure 7 It is a structural block diagram of the device for realizing the water ripple dynamic effect provided by the embodiment of the present invention. The device is used to execute the method for realizing the water ripple motion effect provided by any of the above embodiments, and the device can be implemented by software or hardware. The unit includes:
[0089] The display cycle number acquisition module 11 is used to obtain the cycle number of the preset cycle curve that can be accommodated in the display window of the control, as the display cycle number;
[0090] An image acquisition module 12, configured to determine an image drawn with a preset cycle curve according to the number of display cycles;
[0091] A horizontal movement distance determining module 13, configured to determine a horizontal movement distance of the image relative to the display window, wherein the horizontal movement distance is a distance corresponding to a preset cycle curve with a...
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