logo
Viewpoint

Dynamic Design Strategy from the Perspective of Technology

Website digitization/dynamic visual service

 

 

Selection of (I) Lightweight Technology

 

 

 

 

In the realization of dynamic vision, technology selection is the key link to ensure performance. Different dynamic scenarios have different technical requirements. Reasonable selection of dynamic implementation schemes and optimized loading strategies can ensure the smooth operation of the page while improving the visual effect.

 

Dynamic effect implementation scheme classification:According to the complexity and performance requirements of dynamic effects, we adopt a grading strategy to select the appropriate technical solution. For basic interactive effects, such as the button hover effect, using CSS3 hardware acceleration is the best choice.

 

For complex scene animations, such as product 3D demos, the GSAP high-performance animation library shows its strong advantages. GSAP specifically optimizes animation performance to achieve the same high-performance animation effects as CSS, while also providing a wealth of animation controls and interpolation functions that allow developers to precisely control each frame of the animation. In the 3D demonstration of products, GSAP can easily realize complex animation such as rotation, zoom and translation of objects. With 3D libraries such as Three.js, GSAP can present realistic 3D scenes for users and display all-round details of products.

 

Vector icon dynamic integration Lottie to achieve cross-platform compatibility, for us to solve the problem of dynamic display between different platforms. Lottie is Airbnb's open source cross-platform vector animation rendering library, which can export animation created by Adobe After Effects as JSON files and render smoothly on multiple platforms such as iOS, Android and web. Through Lottie, we can easily realize the dynamic effects of vector icons, such as loading animation, menu switching animation, etc., and these animations perform consistently on different platforms, ensuring that low-end devices can also run smoothly and provide users with a unified Visual experience.

 

Load strategy optimization:In order to improve the loading speed of the page, we have fully optimized the dynamic loading strategy. The core dynamic effect of the first screen is loaded first to ensure that users can see the key dynamic elements as soon as they enter the page, thus improving the user's initial experience. These core dynamics may include the animation of the brand logo, the display of key selling points of the product, etc., which are essential to attract the user's attention and convey the brand message.

 

Non-critical dynamic effects, such as the animation of the bottom module, are triggered by scrolling. Through the Intersection Observer API, we can monitor whether the element enters the viewport, and trigger the corresponding dynamic loading and playback when the user scrolls to the relevant area. This can avoid loading hyperactive resources at one time when the page is loaded, reduce the burden on the server and client, and improve the loading speed of the page.

 

Compression of dynamic resources is also an important part of optimizing loading strategies. We compress dynamic resources, such as animation files, pictures, etc., to less than 60% of their original volume, while maintaining high picture quality and dynamic quality. By adopting advanced compression algorithms and tools, such as image compression in WebP format and binary compression of animation files, we effectively reduce the download amount of resources without affecting the user's visual experience, ensure the page loading speed meets the Core Web Vitals standard, and provide users with a fast and smooth access experience.

 

 

(II) multi-terminal adaptation strategy

 

 

 

 

In today's mobile Internet era, users use a wide variety of terminal devices, with different screen sizes, resolutions, and operating systems. Therefore, ensuring the adaptability of dynamic vision on multiple terminals is the key to providing a consistent user experience.

 

Responsive Dynamic Design:Automatic adjustment of dynamic parameters based on equipment resolution is the core of responsive dynamic design. For example, in the mobile terminal, since the screen size is smaller, the user's operation habit and concentration degree are different from those in the desktop terminal. Therefore, we shorten the duration of the mobile button click animation by 30%, making it more concise and lively, meeting the needs of mobile users for fast operation. At the same time, parameters such as the speed and slow motion curve of the dynamic effect will also be dynamically adjusted according to the performance of the device and the screen size to ensure that the dynamic effect can be smoothly displayed on different devices and will not bring visual discomfort to the user.

 

When adapting horizontal and vertical screen switching, the continuity of dynamic effect is a problem that needs to be paid close attention. We use technical means to ensure that the dynamic effect can smoothly transition during the horizontal and vertical screen switching process and avoid visual faults caused by screen size changes. For example, in the process of switching, the position, size and rotation angle of the dynamic effect can be adjusted in real time to match the new screen size, so that the user feels that the dynamic effect is carried out in a continuous space, rather than suddenly interrupted or abnormal.

 

Accessibility Optimization:Providing dynamic effect text description for visually impaired users is an important step to achieve barrier-free access. Through ARIA tags, we can add detailed text descriptions to dynamic elements, so that screen readers can read this information and help visually impaired users understand the dynamic content on the page. For example, for a rotated icon, the ARIA label can be described as "rotated setting icon, click to open the setting menu", so that the visually impaired user can understand the function and operation mode of the icon like a normal user.

 

Keyboard navigation that supports dynamic content is also key to ensuring accessibility. We ensure that all dynamic elements can be operated through the keyboard, such as button clicks, menu expansion and closing, etc. By properly setting the order of tab keys and focus management, visually impaired users can easily browse and operate the dynamic content on the page using the keyboard to achieve interaction with the product.

 

Considering that different users have different degrees of acceptance of dynamic speed, we provide the function of adjustable dynamic speed. Users can adjust the playback speed of dynamic effects in the settings according to their own needs. Whether they are users who like fast browsing or users who need slower speed to understand dynamic effects, they can find their own settings to meet the WCAG 2.1 AA standard, so that every user can enjoy the information and experience brought by dynamic vision equally.