Unlock instant, AI-driven research and patent intelligence for your innovation.

Image drawing method and device

An image rendering and device technology, applied in the Internet field, can solve the problems of increasing computing overhead and low detection efficiency, and achieve the effects of reducing computing overhead, reducing the number, and improving detection efficiency

Active Publication Date: 2017-07-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The body of the snake in the current Snake game is composed of circular superposition, such as figure 1 As shown, this kind of method can simply describe the shape of the snake, but there is a large gap between the circle and the circle. It seems that the body of the snake will have a lot of sawtooth, especially when the snake turns, the sawtooth of the turning part will be more prominent
[0004] In the prior art, in addition to the problem of jaggedness in the drawing described in the above picture, there are many key points that need to be detected in the process of detecting the movement of the snake, not only to detect the center of each circle, but also to detect the overlapping of two circles. The points in the jagged part lead to low detection efficiency and increase the computational overhead

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
  • Image drawing method and device
  • Image drawing method and device
  • Image drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] An embodiment of the present invention provides a method for image drawing. A target columnar object is formed by splicing multiple circles at the tangent point and a square whose opposite side passes through two adjacent circles, so that the whole of the target columnar object is completely closed without gaps. , so that only part of the center of the circle needs to be detected during motion detection, which reduces the number of key points to be detected, improves detection efficiency, and reduces computational overhead. The embodiment of the invention also provides corresponding equipment. Each will be described in detail below.

[0039] 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.

[0040] The terminal devi...

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

The invention discloses an image drawing method. The image drawing method comprises the following steps that when receiving a moving operating instruction, a terminal device acquires key point coordinates on a first current position locus of a target columnar object and the moving direction indicated by the moving operating instruction, wherein the target columnar object comprises a head component and a body component, the central section in the length direction of the body component comprises a plurality of circles and a plurality of squares, every two circles in the plurality of circles are connected in sequence through a point of tangency, two opposite sides of each of the plurality of squares sequentially penetrate through the centers of two adjacent circles according to the connection order of the circles, and the key point coordinates comprise the center coordinate of the head component and the coordinates of at least two circle centers in the plurality of circles; and the key point coordinates on the updated position locus are determined, so that the moved target columnar object is drawn. For the image drawing method provided by the embodiment of the invention, during moving detection, only part of the circle centers need to be detected, thus the number of the key points needing to be detected is reduced, the detection efficiency is improved, and meanwhile, the computation cost is also reduced.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an image drawing method and device. Background technique [0002] With the development of Internet applications, there are more and more types of games, among which the Snake game is welcomed by the majority of users. The greedy snake is a snake raised by the player. The snake moves under the control of the player, and will continue to eat food (energy points) during the movement, so as to grow continuously. In the process of moving the snake to eat energy points, the player needs to control the movement of the snake to avoid colliding with other snakes. Once the head of a snake hits the body of another snake, the snake will die, and the dead snake will turn into energy points for other snakes to eat. [0003] The body of the snake in the current Snake game is composed of circular superposition, such as figure 1 As shown, this kind of method can simply describe the shape ...

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
IPC IPC(8): A63F13/42A63F13/55A63F13/60
CPCA63F13/42A63F13/55A63F13/60
Inventor 谢巍
Owner TENCENT TECH (SHENZHEN) CO LTD