DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming

Jenny GuangZhen, Karthik Sreedhar, Vivian Liu, Pedro A. Perez, Sitong Wang, Riya Sahni and Lydia B Chilton

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.

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

Cite

@inproceedings{guangzhen-etal-2025-dynex,
    title = {{DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming}},
    author = {Jenny GuangZhen and Karthik Sreedhar and Vivian Liu and Pedro A. Perez and Sitong Wang and Riya Sahni and Lydia B Chilton},
    booktitle = {Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400713941},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3706598.3714115},
    url = {https://doi.org/10.1145/3706598.3714115},
    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.}
}