Programming By Scaffolded Demonstration with Perpend
Open Access
- 13 April 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-20
Abstract
Output-centric programming paradigms such as Direct Manipulation Programming, Programming By Demonstration, and Programming By Example enable users to author programs by constructing an intended output. However, sometimes the purpose of a programming interaction is to discover an “intended output” in the first place (e.g., exploratory data analysis, improvisational creative coding, early-stage prototyping). We argue that one role for output-centric programming here is scaffolding the user in demonstrating their next program editing step by selecting among possible modifications to their current program. We call this Programming By Scaffolded Demonstration (PBSD). To explore PBSD, we built Perpend, a programming environment for p5.js. In a user study with nine artists, we juxtapose Perpend with an existing Direct Manipulation editor, exploring how participants used Perpend to situate themselves within a space of possible programs, shift focus between program text and visual output, and shape their exploration by modifying their program structure.Keywords
Funding Information
- National Science Foundation (FW-HTF 2129008)
- National Science Foundation (CA-HDR 2033558)
This publication has 99 references indexed in Scilit:
- GenerativeGI: creating generative art with genetic improvementAutomated Software Engineering, 2024
- Program Synthesis Using Example Propagation2023
- Stochastic synthesis of recursive functions made easy with bananas, lenses, envelopes and barbed wireGenetic Programming and Evolvable Machines, 2019
- Gneiss: spreadsheet programming using structured web service dataJournal of Visual Languages & Computing, 2017
- Computers and Creativity2012
- The textility of makingCambridge Journal of Economics, 2009
- A survey of robot learning from demonstrationRobotics and Autonomous Systems, 2009
- Programming by Demonstration Using Version Space AlgebraMachine Learning, 2003
- Designing as reflective conversation with the materials of a design situationKnowledge-Based Systems, 1992
- The future of interactive systems and the emergence of direct manipulation†Behaviour & Information Technology, 1982