Supporting Visual Artists in Programming through Direct Inspection and Control of Program Execution

Jingyi Li, Joel Brandt, Radomír Mech, Maneesh Agrawala and Jennifer Jacobs

Abstract

Programming offers new opportunities for visual art creation, but understanding and manipulating the abstract representations that make programming powerful can pose challenges for artists who are accustomed to manual tools and concrete visual interaction. We hypothesize that we can reduce these barriers through programming environments that link state to visual artwork output. We created Demystified Dynamic Brushes (DDB), a tool that bidirectionally links code, numerical data, and artwork across the programming interface and the execution environment - i.e., the artist's in-progress artwork. DDB automatically records stylus input as artists draw, and stores a history of brush state and output in relation to the input. This structure enables artists to inspect current and past numerical input, state, and output and control program execution through the direct selection of visual geometric elements in the drawing canvas. An observational study suggests that artists engage in program inspection when they can visually access geometric state information on the drawing canvas in the process of manual drawing.

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

Cite

@inproceedings{li-etal-2020-supporting,
    title = {{Supporting Visual Artists in Programming through Direct Inspection and Control of Program Execution}},
    author = {Jingyi Li and Joel Brandt and Radomír Mech and Maneesh Agrawala and Jennifer Jacobs},
    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.3376765},
    url = {https://doi.org/10.1145/3313831.3376765},
    abstract = {Programming offers new opportunities for visual art creation, but understanding and manipulating the abstract representations that make programming powerful can pose challenges for artists who are accustomed to manual tools and concrete visual interaction. We hypothesize that we can reduce these barriers through programming environments that link state to visual artwork output. We created Demystified Dynamic Brushes (DDB), a tool that bidirectionally links code, numerical data, and artwork across the programming interface and the execution environment - i.e., the artist's in-progress artwork. DDB automatically records stylus input as artists draw, and stores a history of brush state and output in relation to the input. This structure enables artists to inspect current and past numerical input, state, and output and control program execution through the direct selection of visual geometric elements in the drawing canvas. An observational study suggests that artists engage in program inspection when they can visually access geometric state information on the drawing canvas in the process of manual drawing.}
}