Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page animation rendering method and device

An animation and page technology, applied in the field of computer networks, can solve problems such as animation slowdown and poor performance, and achieve the effects of improving performance, increasing complexity, and improving user experience

Inactive Publication Date: 2018-10-16
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0018] Since Canvas forms an animation, it needs to be cleared after each picture drawing is completed, and then calculate and draw the next frame of picture, which will cause the calculation process to slow down the animation. Although it can solve the precise control of the animation content, but in complex situations , it is easy to obtain poor performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page animation rendering method and device
  • Page animation rendering method and device
  • Page animation rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] Such as figure 1 As shown, it is a flow chart of a method for page animation rendering in an embodiment of the present invention, including:

[0037] 101. Determine the update frequency of each animation element in the front-end page when the front-end page canvas animation is rendered;

[0038] 102. Based on the update frequency corresponding to each animation element, divide the animation elements with the same update frequency into the same layer, a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the present invention provides a page animation rendering method and a device, comprising: determining an update frequency of each animation element in a front-end page when the front-end page canvas is rendered; grouping the animation elements with the same update frequency in the same layer based on each update frequency of each animation element, and synthesizing the layered content of each layered animation element in the off-screen canvas; and drawing the canvas content in the synthesized off-screen canvas to the canvas of the front-end page to complete the animation rendering of the front-end page. According to the page animation rendering method and the device, on the basis of using the canvas to perform all autonomous drawing and animation processing, improving theperformance of the animation rendering, and realizeing that selectively redraws the canvas which needs to be rendered according to the requirement, further greatly improving the page animation rendering performance, thereby the animation technology of the web page is improved in complexity while the smoothness of the page is guaranteed.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and device for rendering page animation. Background technique [0002] There are various elements in a webpage, and webpage animation is one of the indispensable elements in a webpage at present. Improving the animation rendering performance of webpages is a problem that must be faced in webpage development. In the prior art, the following methods are usually used to improve the performance of page animation rendering: [0003] Solution 1. Use Animations (a shorthand attribute of CSS, used to set six animation properties) and Transitions (a shorthand property of CSS, used to set four transition properties) in CSS (Cascading Style Sheets, cascading style sheets) ) method to optimize animation performance [0004] Modern browsers usually have two important execution threads that cooperate to render pages: the main thread and the typesetting thread; usually, the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T13/40A63F13/52
CPCA63F2300/538A63F13/52G06T13/40
Inventor 吴侃
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More