Method and device for realizing animation effect
A technology of animation effects and implementation methods, applied in the field of data processing, can solve the problems of inability to achieve animation effects and inability to animate effects on the H5 side
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] like figure 2 As shown, the method of the present embodiment includes the following steps:
[0024] Step 201, drawing an SVG line according to the root data source;
[0025] SVG is a graphic format based on Extensible Markup Language (XML), which is used to describe two-dimensional vector graphics. It is developed by the World Wide Web Consortium and is an open standard. SVG strictly follows the XML syntax and uses a descriptive language in text format to describe image content, so it is a vector graphics format that has nothing to do with image resolution, and vector graphics use points and lines to describe objects, so the files will be relatively small, and at the same time It can also provide a high-definition picture, which is suitable for direct printing or output, so this embodiment will draw an SVG line according to the root data source. The specific drawing method can be as follows:
[0026] (1) Plan a custom route according to the root data source;
[002...
Embodiment 2
[0051] The method described in Embodiment 1, this embodiment will give an example for further detailed description, such as image 3 As shown, the method of the present embodiment includes:
[0052] Step 301, planning a custom route according to the root data source;
[0053] That is to plan an animation line directly based on the data provided by the root data source.
[0054] Step 302, obtaining the geographical coordinates of the starting point, each inflection point and the end point of the self-defined route to form a geographical point set;
[0055] Geographical coordinates, that is, the spherical coordinates representing the position of the ground point by longitude and latitude, and the geographical point set includes the geographical coordinates of the starting point, each inflection point and the end point of the self-defined route.
[0056] Step 303, draw an SVG line on the map according to the geographical point set;
[0057] In the specific imple...
Embodiment 3
[0090] In order to better implement the above method, the embodiment of the present invention also provides an animation effect realization device, such as Figure 4 As shown, the device of this embodiment includes: a drawing unit 401, a point set forming unit 402 and an animation realization unit 403, as follows:
[0091] (1) Drawing unit 401;
[0092] The drawing unit 401 is used to draw the SVG line according to the root data source.
[0093] SVG is a graphic format based on Extensible Markup Language (XML), which is used to describe two-dimensional vector graphics. It is developed by the World Wide Web Consortium and is an open standard. SVG strictly follows the XML syntax and uses a descriptive language in text format to describe image content, so it is a vector graphics format that has nothing to do with image resolution, and vector graphics use points and lines to describe objects, so the files will be relatively small, and at the same time It can also provid...
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