TL;DR
Sketch-n-Sketch seamlessly combines programmatic and direct manipulation for SVG editing, enabling users to write code and directly modify outputs with real-time program updates, enhancing flexibility and usability.
Contribution
The paper introduces trace-based program synthesis and heuristics for live synchronization, integrating direct manipulation with programming in SVG editing.
Findings
Effective live synchronization between code and output.
User study indicates improved workflow and usability.
Supports complex SVG programs with real-time updates.
Abstract
Direct manipulation interfaces and programmatic systems have distinct and complementary strengths. The former provide intuitive, immediate visual feedback and enable rapid prototyping, whereas the latter enable complex, reusable abstractions. Unfortunately, existing systems typically force users into just one of these two interaction modes. We present a system called Sketch-n-Sketch that integrates programmatic and direct manipulation for the particular domain of Scalable Vector Graphics (SVG). In Sketch-n-Sketch, the user writes a program to generate an output SVG canvas. Then the user may directly manipulate the canvas while the system immediately infers a program update in order to match the changes to the output, a workflow we call live synchronization. To achieve this, we propose (i) a technique called trace-based program synthesis that takes program execution history into…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
