-
公开(公告)号:US20250029303A1
公开(公告)日:2025-01-23
申请号:US18715500
申请日:2023-05-09
Inventor: Dan LU
IPC: G06T13/00 , G06F3/0488
Abstract: The present disclosure provides an animation effect generation method and apparatus, a medium, and a device, and the method includes: in response to determining that an inertial movement of a target element after an end event of a two-dimensional touch movement involves a region outside a first elastic boundary of a display interface, determining collision information for occurrence of a collision rebound according to the first elastic boundary, a motion state of the target element when the end event occurs, and an assumed end-point position; and according to a preset target easing function and the collision information, generating a first animation from the motion state to the occurrence of the collision rebound, and a second animation from the occurrence of the collision rebound to a case where a first boundary of the target element is aligned with the first elastic boundary.
-
公开(公告)号:US20240143898A1
公开(公告)日:2024-05-02
申请号:US18557261
申请日:2022-06-29
IPC: G06F40/109 , G06F40/186
CPC classification number: G06F40/109 , G06F40/186
Abstract: Provided are a content typesetting method and apparatus, a computer device, and a storage medium. The method includes: acquiring each text element in content to be typeset as well as the element type of each text element (S101); determining rendering size information of each text element on the basis of the element type of each text element and a preset rendering size relationship between element types indicated by a movable character template (S102); and on the basis of the rendering size information of each text element and typesetting style setting information, typesetting the content to be typed (S103). The rendering size of each text element can be determined according to the element type, which avoids a process where the rendering size of each text element needs to be separately measured each time typesetting is performed, thereby improving the computation efficiency of rendering size, and improving typesetting efficiency.
-