Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming

Sorin Lerner

Abstract

Live programming is a regime in which the programming environment provides continual feedback, most often in the form of runtime values. In this paper, we present Projection Boxes, a novel visualization technique for displaying runtime values of programs. The key idea behind projection boxes is to start with a full semantics of the program, and then use projections to pick a subset of the semantics to display. By varying the projection used, projection boxes can encode both previously known visualization techniques, and also new ones. As such, projection boxes provide an expressive and configurable framework for displaying runtime information. Through a user study we demonstrate that (1) users find projection boxes and their configurability useful (2) users are not distracted by the always-on visualization (3) a key driving force behind the need for a configurable visualization for live programming lies with the wide variation in programmer preferences.

Venue
CHI 2020
Volume
Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3313831.3376494
PDF
https://dl.acm.org/doi/pdf/10.1145/3313831.3376494
Anthology ID
2020.chi.365

Cite

@inproceedings{lerner-2020-projection,
    title = {{Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming}},
    author = {Sorin Lerner},
    booktitle = {Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450367080},
    year = {2020},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3313831.3376494},
    url = {https://doi.org/10.1145/3313831.3376494},
    abstract = {Live programming is a regime in which the programming environment provides continual feedback, most often in the form of runtime values. In this paper, we present Projection Boxes, a novel visualization technique for displaying runtime values of programs. The key idea behind projection boxes is to start with a full semantics of the program, and then use projections to pick a subset of the semantics to display. By varying the projection used, projection boxes can encode both previously known visualization techniques, and also new ones. As such, projection boxes provide an expressive and configurable framework for displaying runtime information. Through a user study we demonstrate that (1) users find projection boxes and their configurability useful (2) users are not distracted by the always-on visualization (3) a key driving force behind the need for a configurable visualization for live programming lies with the wide variation in programmer preferences.}
}