DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming
Jenny Ma, Karthik Sreedhar, Vivian Liu, Pedro Alejandro Perez, Sitong Wang, Riya Sahni, Lydia B. Chilton
TL;DR
DynEx addresses the challenge of converting abstract design ideas into functional UI prototypes during exploratory programming. It combines a Design Matrix for structured design space exploration with Modular Stepwise Implementation for sequential, testable code generation, including self-invoked multimodal LLMs. The study with 10 experts shows DynEx yields greater design divergence, better convergence, and more feature-rich prototypes than a Claude Artifact baseline. This approach suggests structured design exploration can significantly accelerate MVP creation and strengthen the alignment between design reasoning and engineering in UI prototyping.
Abstract
Recent advancements in large language models have significantly expedited the process of generating front-end code. This allows users to rapidly prototype user interfaces and ideate through code, a process known as exploratory programming. However, existing LLM code generation tools focus more on technical implementation details rather than finding the right design given a particular problem. We present DynEx, an LLM-based method for design exploration in accelerated exploratory programming. DynEx introduces a technique to explore the design space through a structured Design Matrix before creating the prototype with a modular, stepwise approach to LLM code generation. Code is generated sequentially, and users can test and approve each step before moving onto the next. A user study of 10 experts found that DynEx increased design exploration and enabled the creation of more complex and varied prototypes compared to a Claude Artifact baseline. We conclude with a discussion of the implications of design exploration for exploratory programming.
