Have a personal or library account? Click to login
Measuring the performance of techniques for dynamic 2D animation in web browsers Cover

Measuring the performance of techniques for dynamic 2D animation in web browsers

By: M. Beňo and  M. Ӧlvecký  
Open Access
|Dec 2024

Abstract

The study is evaluate the efficacy of diverse 2D animation techniques on web pages, with a particular emphasis on dynamic CSS variable notation (in single-line and two-line formats), jQuery, anime.js, and Velocity.js. The analysis entailed the translation of objects within an abstract model of C programming comprehension, with the objective of measuring the average execution time and the variance across multiple web browsers. The findings indicated that single-line CSS variable notation was the most efficient, exhibiting superior performance compared to two-line notation by 44.07% and 48.91% for 1,000 and 50 objects, respectively. It is noteworthy that anime.js exhibited the least efficient performance with 25 objects, demonstrating a 49.66% discrepancy in performance. Native browser technologies demonstrated superior outcomes compared to JavaScript libraries, which exhibited slower processing times despite being perceived as high-performance solutions. Despite its reputation as an outdated technology, jQuery exhibited competitive rendering speeds. The findings of this study underscore the significance of optimization in animation techniques and rendering efficiency.

DOI: https://doi.org/10.2478/jamsi-2024-0009 | Journal eISSN: 1339-0015 | Journal ISSN: 1336-9180
Language: English
Page range: 77 - 110
Published on: Dec 22, 2024
Published by: University of Ss. Cyril and Methodius in Trnava
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year

© 2024 M. Beňo, M. Ӧlvecký, published by University of Ss. Cyril and Methodius in Trnava
This work is licensed under the Creative Commons Attribution 4.0 License.