DS1 spectrogram: Code Shaping: Iterative Code Editing with Free-form AI-Interpreted Sketching

Code Shaping: Iterative Code Editing with Free-form AI-Interpreted Sketching

February 6, 20252502.03719

Authors

Daniel Vogel,Ryan Yen,Jian Zhao

Abstract

We introduce the concept of code shaping, an interaction paradigm for editing code using free-form sketch annotations directly on top of the code and console output. To evaluate this concept, we conducted a three-stage design study with 18 different programmers to investigate how sketches can communicate intended code edits to an AI model for interpretation and execution.

The results show how different sketches are used, the strategies programmers employ during iterative interactions with AI interpretations, and interaction design principles that support the reconciliation between the code editor and sketches. Finally, we demonstrate the practical application of the code shaping concept with two use case scenarios, illustrating design implications from the study.

Resources

Stay in the loop

Every AI paper that matters, free in your inbox daily.

Details

  • © 2026 takara.ai Ltd
  • Content is sourced from third-party publications.