Display device, method, system and program product

By calculating the wind speed and preset index sequence, determining the reference coordinate sequence of plants and predicting their coordinates, controlling the display to simulate the animation effect of plants swinging under wind, solving the problem that the plant swing effect in traditional animation is not realistic enough, and achieving a more realistic and vivid animation effect.

CN120014130AInactive Publication Date: 2025-05-16HISENSE ELECTRONIC TECH (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411946599.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-16
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In traditional animation production, the swaying and shaking effect of simulating the plant through sequence frames is not realistic enough, and it is difficult to dynamically adjust to adapt to real-time input parameters.

Method used

By obtaining the wind speed and the preset index sequence for calculation, the reference coordinate sequence of the target element is determined. The connection line of the reference coordinate sequence is the curve of the target element swings with the wind speed. The reference coordinate sequence is traversed. According to each reference coordinate and the preset grid parameters in the reference coordinate sequence, the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence is determined, and the display is controlled to simulate the animation effect of the target element swinging under the wind.

Benefits of technology

The swaying and swaying effect of the plants is dynamically adjusted to make it more realistic and vivid, and the animation can be updated in real time according to changes in wind speed, improving the interactiveness and artistic nature of the animation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120014130A_ABST
    Figure CN120014130A_ABST
Patent Text Reader

Abstract

The invention discloses a display device, method, system and program product, and relates to the technical field of animation simulation. According to the method, a reference coordinate sequence is determined according to acquired wind speeds, prediction coordinates corresponding to all reference coordinates in the reference coordinate sequence are determined, and then the prediction coordinates corresponding to all the reference coordinates in the reference coordinate sequence are drawn, so that the postures of target elements corresponding to the wind speeds are displayed, and further, according to different wind speeds, the target elements corresponding to the wind speeds are displayed. The reference coordinate sequence obtained by the target element and the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence are also different, different bending amplitudes of the target element can be displayed in the animation effect, the whole picture changes along with the change of the wind speed, and the picture is vivid, vivid, artistic and innovative.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of animation simulation technology, and in particular to a display device, method, system and program product. Background Art

[0002] In the traditional animation production process, the swaying effect of plants is generally achieved through sequence frames. Designers need to create a series of static images (i.e. sequence frames) for each plant, and simulate the swaying effect of the plant by playing the sequence frames in sequence.

[0003] However, since the sequence frames are pre-designed, the swaying and shaking effects of the plants simulated therein are relatively fixed in form, so that the swaying and shaking effects of the plants simulated by the sequence frames are not realistic enough. Summary of the invention

[0004] The present application provides a display device, method, system and program product, which can solve the problem in the related art that the swaying and shaking effect of simulating plants through sequence frames is not realistic enough.

[0005] In a first aspect, a display device is provided, comprising:

[0006] monitor;

[0007] The controller is configured as:

[0008] The acquired wind speed and the preset index sequence are calculated to determine the reference coordinate sequence corresponding to the target element, the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed;

[0009] Traversing the reference coordinate sequence, and determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and the preset grid parameters;

[0010] According to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, the display is controlled to simulate the animation effect of the target element swaying in the wind.

[0011] In a second aspect, a display method is provided, which is applied to a display device, comprising:

[0012] The acquired wind speed and the preset index sequence are calculated to determine the reference coordinate sequence corresponding to the target element, the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed;

[0013] Traversing the reference coordinate sequence, and determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and the preset grid parameters;

[0014] According to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, the display is controlled to simulate the animation effect of the target element swaying in the wind.

[0015] In a third aspect, a display system is provided, comprising:

[0016] The curve simulation unit is used to calculate the acquired wind speed and the preset index sequence to determine the reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed;

[0017] The texture display unit is used to traverse the reference coordinate sequence and determine the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and the preset grid parameter;

[0018] The texture display unit is also used to control the display to simulate the animation effect of the target element swaying in the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence.

[0019] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program, when the computer program is executed by a display device, the display device executes the display method described in the second aspect.

[0020] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a display device, the display device executes the display method described in the second aspect.

[0021] The present application provides a display device, method, system and program product, which calculates the acquired wind speed and preset index sequence to determine the reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed. The reference coordinate sequence is traversed, and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence and the preset grid parameters are determined. According to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, the display is controlled to simulate the animation effect of the target element swinging by the wind. In this way, the reference coordinate sequence is determined according to the acquired wind speed, and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are determined, and then the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are drawn, so as to display the posture of the target element corresponding to the acquired wind speed. Furthermore, according to different acquired wind speeds, the reference coordinate sequence obtained by the target element and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are also different. In the animation effect, different bending amplitudes of the target element can be displayed, and the entire picture changes with the wind speed. The picture is vivid, artistic and innovative. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram showing an operation scenario between a display device and a control device applicable to the present application is shown;

[0023] Figure 2 shows a hardware configuration block diagram of a control device according to some embodiments;

[0024] Figure 3 shows a hardware configuration block diagram of a display device according to some embodiments;

[0025] Figure 4 shows a software configuration diagram in a display device according to some embodiments;

[0026] Figure 5 A schematic flow chart of a display method provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of virtual plant segmentation provided in an embodiment of the present application;

[0028] Figure 7 A schematic diagram of a curve sample of a parabola model under different coefficients provided in an embodiment of the present application;

[0029] Figure 8 A schematic diagram of grid coordinates provided in an embodiment of the present application;

[0030] Fig. 9A schematic flow chart of a process for determining a coordinate sequence corresponding to a virtual plant provided in an embodiment of the present application;

[0031] Fig.10 A schematic flow chart of the texture display process provided in the embodiment of the present application;

[0032] Fig.11 A schematic diagram of a display screen of an actual application scenario provided by an embodiment of the present application;

[0033] Fig.12 A schematic block diagram of a display system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0035] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.

[0036] For the purpose of illustration rather than limitation, specific details such as specific system structures, technologies, etc. are provided to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0037] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is a specific implementation of the display device of the present application.

[0038] Figure 1FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .

[0039] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc.

[0040] In some embodiments, a smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop computer, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device.

[0041] In some embodiments, the display device 200 may not use the above-mentioned smart device 300 or the control apparatus 100 to receive instructions, but may receive user control through touch or gestures.

[0042] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.

[0043] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.

[0044] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.

[0045] like Figure 3The display device 200 includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0046] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.

[0047] The display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from the controller, and display video content, image content, and menu control interface components and user control UI interface.

[0048] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.

[0049] The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.

[0050] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).

[0051] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0052] The external device interface 240 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.

[0053] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.

[0054] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0055] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.

[0056] In some embodiments, the controller includes a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.

[0057] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.

[0058] "User interface" is the medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.

[0059] like Figure 4In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.

[0060] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.

[0061] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.

[0062] like Figure 4 As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.

[0063] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).

[0064] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.

[0065] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0066] The following is a description of the related technologies of the embodiments of the present application.

[0067] In the traditional animation production process, the swaying effect of plants is generally achieved through sequence frames. Designers need to create a series of static images (i.e., sequence frames) for each plant, and create the illusion of motion by displaying a series of static images in rapid succession. Each static image is called a "frame". When these frames are displayed in sequence at a fast enough speed, the user's eyes will see smooth movement due to the visual persistence effect, and can also feel the swaying of the plants. However, since the sequence frames are pre-designed, the form of the simulated swaying effect of plants is relatively fixed and cannot be dynamically adjusted according to real-time input parameters (such as wind speed, etc.). For example, when the wind speed increases in real time, the swaying degree of the plant becomes larger, and when the wind speed decreases in real time, the swaying degree of the plant becomes smaller. The swaying effect of plants simulated by sequence frames is relatively monotonous and not realistic, and has poor interactivity and artistry. Since the transition between each sequence frame is manually set by the designer, it is difficult to accurately capture the subtle changes of plants swaying in the wind in nature. The result is often that the animation effect appears mechanical and unnatural, and cannot truly reproduce the dynamic behavior of plants under different environmental conditions. In order to cover as many possible scenarios as possible, designers must prepare a large number of sequence frames for each situation, which not only increases the workload but also takes up a lot of storage space. In addition, when the animation needs to be modified or optimized, it is often necessary to remake the entire sequence, which is inefficient.

[0068] In view of this, the embodiments of the present application provide a display device, method, system and storage medium. After obtaining the wind speed, the wind speed and the preset index sequence are calculated to determine the coordinate sequence corresponding to the virtual plant. The coordinate sequence includes the coordinates of the virtual plant corresponding to each index in the preset index sequence. The connecting line of the coordinate sequence is a curve of the virtual plant swinging with the wind speed. The coordinate sequence is traversed, and the predicted coordinates corresponding to each coordinate in the coordinate sequence and the preset grid parameters are determined. According to the predicted coordinates corresponding to each coordinate in the coordinate sequence, the animation effect of the virtual plant swinging in the wind is simulated through the display. In this way, after obtaining the wind speed, the coordinate sequence is determined according to the wind speed, and according to the predicted coordinates corresponding to each coordinate in the coordinate sequence, the predicted coordinates corresponding to each coordinate in the coordinate sequence are drawn, so as to display the posture of the virtual plant corresponding to the wind speed. Furthermore, according to different wind speeds, the coordinate sequence obtained by the virtual plant and the predicted coordinates corresponding to each coordinate in the coordinate sequence are also different. In the animation effect, different degrees of plant bending can be displayed. The whole picture changes with the change of wind speed. The picture is vivid, artistic and innovative.

[0069] In order to facilitate further understanding of the technical solutions in some embodiments of the present application, the technical solutions of the display device and the display method, as well as how the technical solutions solve the above-mentioned technical problems are described in detail below in combination with some specific embodiments and drawings. The various embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Obviously, the described embodiments are part of the embodiments of the present application, not all of them.

[0070] It should be understood that in some embodiments, the display method provided in the present application can be used to display virtual plants, or objects that swing under the action of wind, such as wind chimes, ropes, flags, wires, etc., or hair, clothes, curtains, etc., which can all be displayed using the display method provided in the embodiments of the present application, and the embodiments of the present application are not limited here.

[0071] like Figure 5 As shown, Figure 5 The schematic flow chart of the display method provided in the embodiment of the present application is applied to a display device, the display device includes a display and a controller. Specifically, the embodiment of the present application takes the target element as a virtual plant as an example, and the controller is configured to perform the following steps:

[0072] S501, calculating the acquired wind speed and the preset index sequence to determine the reference coordinate sequence corresponding to the virtual plant.

[0073] The reference coordinate sequence includes coordinates of the virtual plant corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the virtual plant swaying with wind speed.

[0074] In one implementation, the acquired wind speed and the preset index sequence may be input into a preset curve model to determine a reference coordinate sequence corresponding to the virtual plant.

[0075] Each coordinate in the reference coordinate sequence corresponding to the virtual plant can represent the position of the virtual plant in the grid. By connecting each coordinate in the reference coordinate sequence corresponding to the virtual plant, a simulation curve of the virtual plant in the grid can be obtained. It can be understood that the reference coordinate sequence corresponding to the virtual plant can be a set of central contour points of a plant. For example, if the virtual plant is divided into 50 segments in the vertical direction, the central contour point set can be a set of central point coordinates of each of the 50 segments. For example, Figure 6 As shown, Figure 6 A schematic diagram of virtual plant segmentation in an embodiment of the present application is shown in FIG.

[0076] The preset curve model is a model used to simulate the bending state of plants when swaying in the wind, and may be a parabola model.

[0077] For example, the preset curve model is y 2 =mx, when the coefficient m is different, the curve of the virtual plant swinging with the wind speed obtained according to the preset curve model is also different. The larger the value of m, the smoother and more vertical the curve of the virtual plant swinging with the wind speed. At this time, the amplitude of the virtual plant swinging with the wind is smaller, which corresponds to the virtual plant swinging at a relatively low wind speed; the smaller the value of m, the greater the curvature of the curve of the virtual plant swinging with the wind speed. At this time, the amplitude of the virtual plant swinging with the wind deviates more from the static position of the plant, which corresponds to the virtual plant swinging at a relatively high wind speed. For example, Figure 7 As shown, Figure 7 Graphs of the parabolic model with different coefficients are shown in FIG.

[0078] It should be noted that in the actual simulation process, the plant curve simulation basically shows a linear growth in the vertical direction and a quadratic function relationship in the horizontal direction.

[0079] In a possible implementation, each coordinate in the coordinate sequence corresponding to the virtual plant includes a horizontal coordinate and a vertical coordinate. The horizontal coordinate of the virtual plant corresponding to each index in the preset index sequence can be determined according to the acquired wind speed, the preset index sequence and the coordinate formula of the virtual plant in the horizontal direction; the vertical coordinate of the virtual plant corresponding to each index in the preset index sequence can be determined according to the preset index sequence and the coordinate formula of the virtual plant in the vertical direction.

[0080] Among them, the coordinate formula of the virtual plant in the horizontal direction satisfies:

[0081]

[0082] The coordinate formula of the virtual plant in the vertical direction satisfies:

[0083]

[0084] In formula (1), x represents the horizontal coordinate of any coordinate in the coordinate sequence corresponding to the virtual plant, a represents the first preset parameter, b represents the second preset parameter, wind represents the wind speed, and index represents any index value in the preset index sequence; a*wind represents the value of the wind speed after a linear change.

[0085] In formula (2), y represents the vertical coordinate of any coordinate in the coordinate sequence corresponding to the virtual plant.

[0086] As an example but not a limitation, in the above formula (1) and formula (2), a is taken as 0.05 and b is taken as 50.

[0087] It should be noted that if the value of a is small, the virtual plant sways in the horizontal direction with the wind: almost no swaying, and the virtual plant is basically vertical. If the value of a is large, the virtual plant sways in the horizontal direction with the wind: too much swing, and even tends to fall to the ground. When the value of a is 0.05, the swaying amplitude of the plant is moderate.

[0088] In a possible implementation, the above formula (1) and formula (2) are transformed using an intermediate parameter t, and

[0089]

[0090] The above formula (1) is transformed into the following formula (3):

[0091] x=a*wind*t 2 (3)

[0092] Convert the above formula (2) into formula (4):

[0093] y=t (4)

[0094] In this implementation, starting from the first index in the preset index sequence as the current index, the value of the intermediate parameter t is determined according to the current index and the preset second parameter b, and then the horizontal coordinate and vertical coordinate of the virtual plant corresponding to the current index are determined according to formula (3) and formula (4), and the coordinates (x, y) of the virtual plant corresponding to the current index are added to the coordinate sequence corresponding to the virtual plant, and it is determined whether the current index is the last index in the preset index sequence. If the current index is not the last index in the preset index sequence, it is switched to the next index and the calculation is performed again until the current index is determined to be the last index in the preset index sequence, and the coordinate sequence corresponding to the virtual plant is saved. In this way, the coordinate sequence corresponding to the virtual plant includes the coordinates of the virtual plant corresponding to each index in the preset index sequence.

[0095] In an embodiment of the present application, the preset index sequence is determined based on the preset number of segments of the virtual plant in the vertical direction (longitudinal direction). For example, if the virtual plant is divided into 50 segments in the longitudinal direction, the preset index sequence takes 50 integers from 0 to 49, or 50 integers from 1 to 50. Obviously, the number of indexes in the preset index sequence is the same as the number of segments into which the virtual plant is divided in the longitudinal direction.

[0096] It can be understood that, for each index in the preset index sequence, the coordinates of the virtual plant corresponding to each index can be determined according to formula (1) and formula (2).

[0097] In some embodiments, the controller may obtain wind speed through a sensor such as a wind sensor, or the controller may be connected to a local or remote weather station through a network to obtain real-time wind speed data. The embodiments of the present application do not limit the manner in which the controller obtains wind speed.

[0098] In some embodiments, before S501, the display method may further include:

[0099] S500, obtain wind speed.

[0100] Among them, wind speed refers to the speed of air movement relative to the earth's surface, which can be obtained from nature in real time.

[0101] For example, the wind speed is obtained through a weather application (Application, APP), and the wind speed can be expressed by a wind force level (Beaufort wind force level). Specifically, the Beaufort wind force level is a system that divides wind force into 13 levels according to wind speed, and each level corresponds to a different wind speed range and natural phenomenon. For example, the real-time wind force level is obtained through a weather APP, for example: level 5 wind force, level 6 wind force, etc.

[0102] It can be understood that by obtaining wind speed in real time through the weather APP and applying it to the swaying of virtual plants in the wind in the embodiment of the present application, the swaying of virtual plants in the wind in the embodiment of the present application can simulate the swaying of plants in the actual weather environment and display the animation effect of plants swaying in nature in real time.

[0103] S502, traversing the reference coordinate sequence corresponding to the virtual plant, and determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and a preset grid parameter.

[0104] The preset grid parameter may be the width or height of a grid unit, or may be a parameter determined according to the width or height of a grid. For example, the preset grid parameter may be half of the grid width.

[0105] In an embodiment of the present application, a reference coordinate sequence corresponding to the virtual plant is traversed, the position of each reference coordinate in the reference coordinate sequence is judged, and for different coordinate positions, the first vector corresponding to the reference coordinate is determined, and then the predicted coordinate corresponding to the reference coordinate is determined based on the reference coordinate, the preset grid parameters and the first vector corresponding to the reference coordinate.

[0106] Specifically, the coordinate sequence of the virtual plant includes the first reference coordinate, and S502 specifically includes S5021 and S5022, wherein:

[0107] S5021: Determine a first vector according to the first reference coordinates.

[0108] Depending on whether the first reference coordinate is the first coordinate in the coordinate sequence corresponding to the virtual plant, or the first reference coordinate is any coordinate other than the first coordinate in the reference coordinate sequence corresponding to the virtual plant, the method of determining the first vector is different. The following describes the two methods of determining the first vector:

[0109] Method 1: When the first reference coordinate is the first coordinate in the reference coordinate sequence corresponding to the virtual plant, the normal vector of the preset direction vector corresponding to the first reference coordinate is determined as the first vector.

[0110] Exemplarily, the first coordinate in the reference coordinate sequence corresponding to the virtual plant is the root coordinate of the virtual plant. It can be understood that the virtual plant usually grows longitudinally along the Y-axis of the XY coordinate system, and the root of the virtual plant is usually perpendicular to the ground. The first vector corresponding to the root coordinate is set to (1, 0). In this way, the first vector corresponding to the root coordinate is the normal vector of the root coordinate, which is perpendicular to the y-axis.

[0111] It should be noted that the first vector is the direction vector corresponding to the root coordinates, which may be (0, 1). Then, based on the direction vector, the normal vector corresponding to the root coordinates is determined, and the normal vector is (1, 0).

[0112] Method 2: When the first reference coordinate is any coordinate other than the first coordinate in the reference coordinate sequence corresponding to the virtual plant, determine the second vector based on the first reference coordinate and the second reference coordinate, wherein the second reference coordinate is adjacent to the first reference coordinate, and the second vector is the direction vector from the second reference coordinate to the first reference coordinate; determine the normal vector of the second vector as the first vector.

[0113] For example, Figure 8 As shown, the first reference coordinate is C2(x1, y1), and the coordinate adjacent to C2(x2, y2) is C1(x1, y1). By calculating the coordinates C1(x1, y1) and C2(x2, y2), the difference between the horizontal coordinate and the vertical coordinate of C1 and C2 can be obtained respectively, such as: dx=x2-x1, dy=y2-y1, and then according to the difference between the horizontal coordinate and the vertical coordinate of C1 and C2 respectively, the direction vector direction between the two adjacent points of C1 and C2 is determined to be (dx, dy). It can be understood that direction (dx, dy) is the direction vector from C1 to C2, that is, the second vector. Then, according to the second vector, the normal vector normal corresponding to the second vector is calculated, that is, the first vector, and the first vector is (-dy, dx).

[0114] S5022: Determine a predicted coordinate corresponding to the first reference coordinate according to the first reference coordinate, the preset grid parameter, and the first vector.

[0115] In some embodiments, the preset grid parameter is multiplied by the first vector to obtain the first parameter, and the first reference coordinate and the first parameter are calculated to determine the predicted coordinate corresponding to the first reference coordinate.

[0116] Specifically, the predicted coordinates corresponding to the first reference coordinates include the first predicted coordinates and the second predicted coordinates, and S5032 specifically includes:

[0117] The sum of the first reference coordinate and the first parameter is determined as the first predicted coordinate, and the difference between the first reference coordinate and the first parameter is determined as the second predicted coordinate; the first parameter is the product of the preset grid parameter and the first vector.

[0118] For example, Figure 8As shown, the first reference coordinate is C2 (x1, y1), and the predicted coordinates corresponding to the first reference coordinate C2 are P3 and P4, then P3 = C2-0.5*width*normal, P4 = C2+0.5*width*normal, wherein 0.5*width is a preset grid parameter.

[0119] It should be noted that each time the predicted coordinates corresponding to the first reference coordinates are determined, the coordinate array may be determined according to the predicted coordinates corresponding to the first reference coordinates and the predicted coordinates corresponding to the coordinates adjacent to the first reference coordinates.

[0120] S503, controlling the display to simulate the animation effect of the virtual plant swaying in the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence.

[0121] In some embodiments, based on the positional relationship between the predicted coordinates corresponding to two adjacent reference coordinates in the reference coordinate sequence, the coordinates that can constitute the basic grid or basic image in the predicted coordinates corresponding to two adjacent reference coordinates can be determined as a coordinate array, and multiple coordinate arrays can be formed into a first index sequence. The multiple coordinate arrays in the first index sequence are drawn, and the drawn image is displayed on a display, that is, the animation effect of virtual plants swaying in the wind is simulated through the display.

[0122] Specifically, S503 includes S5031 and S5032, wherein:

[0123] S5031, determining a first index sequence according to predicted coordinates corresponding to two adjacent reference coordinates in the reference coordinate sequence in a counterclockwise order, wherein the first index sequence includes a plurality of coordinate arrays, each of which includes a plurality of coordinates constituting a basic image.

[0124] In some embodiments, since the connecting line of the reference coordinate sequence corresponding to the virtual plant is a curve, it cannot be drawn in a rectangular manner, and it is necessary to use a grid for texture drawing. In OPENGL, the basic figure drawn is a triangle, and it is drawn in a counterclockwise direction. Specifically, if the current entire texture (i.e., the virtual plant) needs to be drawn with a curve, it is necessary to divide the current entire texture into several small segments, and divide the virtual plant into 50 segments in the vertical direction, each segment is a small rectangle, and a small rectangle is divided into 2 triangles. It can be understood that the predicted coordinates corresponding to two adjacent reference coordinates in the reference coordinate sequence can form a small rectangle, and each coordinate array can include the coordinates of the three vertices of one of the two triangles divided into the small rectangle. In this way, the predicted coordinates corresponding to the two adjacent coordinates can determine two coordinate arrays, and the first index sequence includes two coordinate arrays determined by the predicted coordinates corresponding to each two adjacent coordinates.

[0125] S5032: According to the first index sequence, control the display to simulate the animation effect of the virtual plant swaying in the wind.

[0126] In some embodiments, each coordinate array in the first index sequence is drawn, and the display is controlled to simulate the animation effect of the virtual plant swaying in the wind.

[0127] The embodiment of the present application can dynamically adjust the coordinate sequence corresponding to the virtual plant according to the different wind speeds, thereby realizing the dynamic adjustment of the curve of the virtual plant swaying with the wind speed. Then, according to the coordinate sequence corresponding to the virtual plant, the entire animation effect simulates and displays the swaying effect of plants in nature in real time. The swinging curve of the virtual plant also simulates the normal bending effect of the plant.

[0128] In an embodiment of the present application, the acquired wind speed and the preset index sequence are calculated to determine the reference coordinate sequence corresponding to the target element, the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed, the reference coordinate sequence is traversed, and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are determined according to each reference coordinate in the reference coordinate sequence and the preset grid parameter, and the display is controlled to simulate the animation effect of the target element swinging by the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence. In this way, the reference coordinate sequence is determined according to the acquired wind speed, and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are determined, and then the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are drawn, so as to display the posture of the target element corresponding to the acquired wind speed. Furthermore, according to the different acquired wind speeds, the reference coordinate sequence obtained by the target element and the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence are also different, and different bending amplitudes of the target element can be displayed in the animation effect, and the whole picture changes with the change of wind speed, and the picture is vivid, artistic and innovative.

[0129] Combine the following Fig. 9 , a specific example is used to schematically illustrate the process of determining the coordinate sequence corresponding to the virtual plant provided in the embodiment of the present application.

[0130] like Fig. 9 As shown, the method includes the following S901 to S912.

[0131] S901, determine the overall curve model.

[0132] The overall curve model may be the preset curve model in the above embodiment, and the overall curve model includes variables X and Y, and the variable X is a1*t 2 , the variable Y takes the value of t, as shown in Table 1.

[0133] Table 1

[0134] variable Value X <![CDATA[a1*t 2 ]]> Y t

[0135] In Table 1, t is set to index / 50, where 50 means dividing the entire plant into 50 segments evenly vertically, index is an index value, which can be any index value in the preset index sequence in the aforementioned embodiment, a1 is the value of the wind speed obtained by the system after a linear change, and the linear relationship between a1 and the wind speed level wind obtained by the system is: a1=0.05*wind, where 0.05 can be the first preset parameter in the aforementioned embodiment, 50 can be the second preset parameter in the aforementioned embodiment, and the wind speed level wind represents the wind speed in the aforementioned embodiment.

[0136] S902, obtaining wind force wind.

[0137] S903, calculating coefficient a1 according to the transformation relationship a1=0.05*wind.

[0138] S904, divide the plant center outline into 50 small segments.

[0139] S905, start the first index value.

[0140] S906, calculating the current t value according to the relationship t=index / 50.

[0141] S907, according to the expression X = a1*t 2 Calculate the X value.

[0142] S908, calculate the Y value according to the expression Y=t.

[0143] S909, adding the current index center coordinates (X, Y) to the list.

[0144] The index center coordinates are the coordinates corresponding to the virtual plant corresponding to any index in the preset index sequence in the aforementioned embodiment. The list is the coordinate sequence corresponding to the virtual plant in the aforementioned embodiment.

[0145] S910, determining whether the last index has been reached.

[0146] If it is determined that the last index has not been reached, execute S911;

[0147] When it is determined that the last index has been reached, S912 is executed.

[0148] S911, switch to the next index, and further execute S906 to S910.

[0149] S912, save the center coordinate sequence.

[0150] The center coordinate sequence may be the coordinate sequence corresponding to the virtual plant in the aforementioned embodiment.

[0151] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0152] According to the process of determining the coordinate sequence corresponding to the virtual plant provided in the embodiment of the present application, each time the wind force wind is obtained, a set of center coordinate sequences will be determined according to the obtained wind force wind. In this way, different plant center coordinate sequences can be obtained according to the changes in the wind force wind, and thus, according to different plant center coordinate sequences, curves of different shapes of virtual plants swaying in the wind can be drawn.

[0153] Combine the following Fig.10 , a specific example is used to schematically illustrate the texture display process provided in the embodiment of the present application.

[0154] like Fig.10 As shown, the method includes the following S1001 to S1012.

[0155] S1001, generating a set of central contour points according to wind speed and a curve model.

[0156] The implementation process of S1001 may refer to S901 to S912, wherein the curve model may be the overall curve model in the above embodiment, and the set of central contour points may be the central coordinate sequence in the above embodiment.

[0157] S1002, determining the width of the plant texture.

[0158] The width of the plant texture may be a preset grid parameter in the aforementioned embodiment.

[0159] S1003, traverse the central contour point set.

[0160] S1004, start the first center contour point.

[0161] S1005, obtain the current center point coordinates C2 (x2, y2).

[0162] S1006, determining whether the current point is the first center contour point.

[0163] When it is determined that the current point is the first center contour point, execute S10010 and S1008;

[0164] S1007, set the direction vector to (0,1).

[0165] S1008, set the normal vector to (1,0).

[0166] In the case where it is determined that the current point is not the first center contour point, S1009 to S1011 are executed.

[0167] S1009, obtaining the coordinates of the previous point C1 (x1, y1).

[0168] S1010, calculating the direction vector direction according to C1 and C2.

[0169] S1011, calculate the normal vector normal according to direction.

[0170] S1012, P3 and P4 are calculated according to the current center point coordinate C2 and the width of the plant texture and the normal vector normal.

[0171] Among them, P3 and P4 may be the first predicted coordinates and the second predicted coordinates in the above embodiment.

[0172] S1013, constructing a triangular mesh according to the positional relationship among P1, P2, P3 and P4.

[0173] For example, according to the triangle composition rule, Figure 8 Here, P1, P2, P3 and P3, P2, P4 respectively form a triangle that rotates counterclockwise, and the coordinates of all grid points can be set by repeating this cycle.

[0174] S1014, determining whether the last center point has been reached.

[0175] If it is determined that the last center point has not been reached, S1015 is executed.

[0176] When it is determined that the last center point has been reached, S1016 to S1018 are executed.

[0177] S1015, switch to the next center point, and further execute S1005 to S1014.

[0178] S1016, set the index sequence.

[0179] The index sequence may be the first index sequence in the above embodiment.

[0180] S1017, set UV sequence.

[0181] S1018, refresh the page.

[0182] According to the texture display process provided in the embodiment of the present application, a set of central contour points is generated according to the wind speed and the curve model, and then an index sequence is determined according to each central contour point in the set of central contour points. The corresponding UV sequence is set according to the drawing software, and the page is refreshed to display the curved shapes of virtual plants swaying in the wind to the user. Furthermore, different sets of central contour points are used to draw different curved shapes of virtual plants swaying in the wind. That is to say, in the implementation process of the present application, the picture presented each time can be dynamically adjusted to simulate the plant swaying effect under different conditions, so that the user can be displayed curves of different shapes of virtual plants swaying in the wind. The picture changes with the wind speed, and the picture is vivid, artistic and innovative. Compared with the existing technology, the resources obtained are also simpler, which improves the efficiency of resource utilization.

[0183] Below, in combination with the usage scenarios of the embodiments of the present application, the effects that can be achieved by the embodiments of the present application are further explained.

[0184] like Fig.11 The figure shows a schematic diagram of a display screen in an actual application scenario provided by an embodiment of the present application. The application scenario can be an art album digital art animation, in which the art animation contains multiple elements such as the sky, hills, and grass. When the wind blows, the plants will swing back and forth with the wind at a certain amplitude and frequency. When the wind speed is higher, the amplitude of the plant swing is larger; when the wind speed is lower, the amplitude of the plant swing is also smaller. The entire animation effect simulates and displays the effect of plant swaying in nature in real time, and the swinging curve also basically simulates the effect of normal bending of the plant. When there is no wind or the wind speed is very low, the plant is basically in a normal state, and the overall picture is basically displayed in a vertical direction, and the curve is not obvious. When the wind speed is higher, the plant will tilt to one side, and the entire picture is displayed in the form of a curve. Since the root of the plant is in a fixed state, the main tip swings with a larger amplitude, and drives the middle stem and leaf part of the plant to follow the swing. Since the stem and leaf part of the plant is elastic, the overall picture effect presents a periodic left and right swing effect. The entire animation effect is smooth and natural, showing the wonderful combination of animation and nature.

[0185] Combination of the above Figures 1 to 10 , describes in detail the display device of an embodiment of the present application and the steps executed by the controller in the display device, and describes in detail an embodiment of the display method of the present application.

[0186] like Figure 1 , Figure 2 As shown, the display device 200 can be used to implement the display method described in the above method embodiment. The same and similar parts between the various embodiments in this specification can be referenced to each other, and will not be repeated here.

[0187] The display device 200 may include one or more memories on which programs are stored. The programs can be executed by the controller 250 to generate instructions, so that the controller 250 executes the display method described in the above method embodiment according to the instructions.

[0188] Optionally, data may be stored in the memory. Optionally, the controller 250 may read data stored in the memory, and the data may be stored in the same storage address as the program, or may be stored in a different storage address than the program.

[0189] The controller 250 and the memory may be provided separately or integrated together; for example, integrated on a system on chip (SOC) of the terminal device.

[0190] The present application also provides a display system, such as Fig.12 As shown, the display system 120 includes: a curve simulation unit 1210 and a texture display unit 1220, wherein:

[0191] The curve simulation unit 1210 is used to calculate the acquired wind speed and the preset index sequence to determine the reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes the reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and the connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed;

[0192] The texture display unit 1220 is used to traverse the reference coordinate sequence and determine the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and the preset grid parameter;

[0193] The texture display unit 1220 is further used to control the display to simulate the animation effect of the target element swaying in the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence.

[0194] The present application also provides a computer program product, which, when executed by the controller 250, implements the display method of any method embodiment in the present application.

[0195] The computer program product may be stored in a memory, for example, a program, which is finally converted into an executable target file that can be executed by the controller 250 after preprocessing, compiling, assembling and linking.

[0196] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the display method of any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.

[0197] The computer-readable storage medium is, for example, a memory. The memory may be a volatile memory or a nonvolatile memory, or the memory may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0198] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0199] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0200] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0201] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0202] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic; for example, the division of units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0203] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0204] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0205] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A display device, characterized in that: include: monitor; The controller is configured as: Calculate the acquired wind speed and the preset index sequence to determine a reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and a connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed; Traversing the reference coordinate sequence, and determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and a preset grid parameter; According to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, the display is controlled to simulate the animation effect of the target element swaying in the wind.

2. The display device according to claim 1, characterized in that The reference coordinate sequence includes a first reference coordinate, and the controller performs the step of determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and a preset grid parameter, and is configured as follows: Determine a first vector according to the first reference coordinates; Determine a predicted coordinate corresponding to the first reference coordinate according to the first reference coordinate, the preset grid parameter, and the first vector.

3. The display device according to claim 2, characterized in that The controller performs the step of determining the first vector according to the first reference coordinates, and is configured to: In a case where the first reference coordinate is the first coordinate in a reference coordinate sequence corresponding to the target element, determining a normal vector of a preset direction vector corresponding to the first reference coordinate as the first vector; or, In a case where the first reference coordinate is any coordinate other than the first coordinate in the reference coordinate sequence corresponding to the target element, determining a second vector according to the first reference coordinate and the second reference coordinate, wherein the second reference coordinate is adjacent to the first reference coordinate, and the second vector is a direction vector from the second reference coordinate to the first reference coordinate; The normal vector of the second vector is determined as the first vector.

4. The display device according to claim 2, characterized in that The predicted coordinates corresponding to the first reference coordinates include first predicted coordinates and second predicted coordinates, and the controller determines the predicted coordinates corresponding to the first reference coordinates according to the first reference coordinates, the preset grid parameters, and the first vector, and is configured as follows: Determine the sum of the first reference coordinate and a first parameter as the first predicted coordinate, where the first parameter is the product of the preset grid parameter and the first vector; The difference between the first reference coordinate and the first parameter is determined as the second predicted coordinate.

5. The display device according to any one of claims 1 to 4, characterized in that: The controller controls the display to simulate the animation effect of the target element swaying in the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, and is configured as follows: Determine a first index sequence according to predicted coordinates corresponding to two adjacent reference coordinates in the reference coordinate sequence in a counterclockwise order, wherein the first index sequence includes a plurality of coordinate arrays, each of which includes a plurality of coordinates constituting a basic image; According to the first index sequence, the display is controlled to simulate an animation effect of the target element swaying in the wind.

6. The display device according to any one of claims 1 to 4, characterized in that: Each coordinate in the reference coordinate sequence corresponding to the target element includes a reference coordinate in the horizontal direction and a reference coordinate in the vertical direction. The controller performs the calculation on the acquired wind speed and the preset index sequence to determine the reference coordinate sequence corresponding to the target element, and is configured as follows: Determine the horizontal reference coordinates corresponding to the target element corresponding to each index in the preset index sequence according to the wind speed, the preset index sequence and the coordinate formula of the target element in the horizontal direction; The coordinate formula of the target element in the horizontal direction satisfies: Wherein, x represents a reference coordinate in the horizontal direction of any coordinate in the coordinate sequence corresponding to the target element, a represents a first preset parameter, b represents a second preset parameter, wind represents the wind speed, and index represents any index value in the preset index sequence; Determine the vertical reference coordinates of the target element corresponding to each index in the preset index sequence according to the preset index sequence and the coordinate formula of the target element in the vertical direction; Among them, the coordinate formula of the target element in the vertical direction satisfies: Wherein, y represents the reference coordinate in the vertical direction of any coordinate in the coordinate sequence corresponding to the target element.

7. The display device according to claim 6, characterized in that The value of a is 0.05 and the value of b is 50.

8. A display method, characterized in that: include: Calculate the acquired wind speed and the preset index sequence to determine a reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and a connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed; Traversing the reference coordinate sequence, and determining the predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence according to each reference coordinate in the reference coordinate sequence and a preset grid parameter; According to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence, the display is controlled to simulate the animation effect of the target element swaying in the wind.

9. A display system, characterized in that: include: A curve simulation unit, used to calculate the acquired wind speed and a preset index sequence to determine a reference coordinate sequence corresponding to the target element, wherein the reference coordinate sequence includes reference coordinates corresponding to the target element corresponding to each index in the preset index sequence, and a connecting line of the reference coordinate sequence is a curve of the target element swinging with the wind speed; A texture display unit, configured to traverse the reference coordinate sequence and determine, according to each reference coordinate in the reference coordinate sequence and a preset grid parameter, a predicted coordinate corresponding to each reference coordinate in the reference coordinate sequence; The texture display unit is also used to control the display to simulate the animation effect of the target element swaying in the wind according to the predicted coordinates corresponding to each reference coordinate in the reference coordinate sequence.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method of claim 8 when being executed by a processor.