An empirical study of programming paradigms for animation

被引:0
|
作者
Kraemer, Jan-Peter [1 ,2 ]
Hennings, Michael [1 ]
Brandt, Joel [2 ]
Borchers, Jan [1 ]
机构
[1] Rhein Westfal TH Aachen, Aachen, Germany
[2] Adobe Res, Creat Technol Lab, San Jose, CA USA
关键词
Animations; programming paradigms; empirical studies;
D O I
10.1145/2897586.2897597
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Animations are an essential part of many modern user interfaces. They are often de fined programmatically, which allows for parametrization and reuse. Two programming paradigms to de fine animations are common: Procedural animation programming allows the developer to make explicit updates to object properties at each frame, allowing maximum control over behavior. Declarative animation programming allows the developer to specify keyframes, i.e., the value of an object's property at a given point in time. All frames between two keyframes are automatically interpolated by the animation library. In this paper, we investigate how these common programming paradigms differ in terms of developers' productivity. In a controlled laboratory study, we asked developers to implement a set of simple animations using both paradigms. We found that developers can implement a given behavior faster using declarative animation programming, but the abstraction introduced by automatically creating the animation through keyframe interpolation left participants with unexpected behavior for some tasks.
引用
收藏
页码:58 / 61
页数:4
相关论文
共 50 条
  • [1] STUDY OF PROGRAMMING PARADIGMS
    Gorodniaia, Lidia
    Andreyeva, Tatiana
    [J]. INTED2016: 10TH INTERNATIONAL TECHNOLOGY, EDUCATION AND DEVELOPMENT CONFERENCE, 2016, : 7482 - 7491
  • [2] Empirical Assessment of Program Comprehension Styles in Programming Language Paradigms
    Mansoor, Niloofar
    [J]. 2021 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2021), 2021,
  • [3] PROGRAMMING PARADIGMS
    SWAINE, M
    [J]. DR DOBBS JOURNAL, 1991, 16 (10): : 133 - 136
  • [4] PARADIGMS OF PROGRAMMING
    FLOYD, RW
    [J]. COMMUNICATIONS OF THE ACM, 1979, 22 (08) : 455 - 460
  • [5] The paradigms of programming
    Robert W Floyd
    [J]. Resonance, 2005, 10 (5) : 86 - 98
  • [6] The Paradigms of Programming
    Floyd, Robert W.
    [J]. RESONANCE-JOURNAL OF SCIENCE EDUCATION, 2005, 10 (05): : 86 - 98
  • [7] A PROGRAMMING UTILITY FOR ANIMATION
    BENDALL, VI
    [J]. JOURNAL OF CHEMICAL EDUCATION, 1987, 64 (03) : 236 - 237
  • [8] Programming and animation - Reply
    不详
    [J]. COMPUTER, 2001, 34 (02) : 6 - 6
  • [9] Empirical Study of Programming to an Interface
    Verhaeghe, Benoit
    Fuhrman, Christopher
    Guerrouj, Latifa
    Anquetil, Nicolas
    Ducasse, Stephane
    [J]. 34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 847 - 850
  • [10] BASIC PARADIGMS OF PROGRAMMING
    KAPITONOVA, YV
    LETICHEVSKII, AA
    [J]. CYBERNETICS AND SYSTEMS ANALYSIS, 1994, 30 (06) : 793 - 806