[2602.17690] DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation

[2602.17690] DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation

arXiv - Machine Learning 3 min read Article

Summary

The paper presents DesignAsCode, a framework that enhances graphic design generation by integrating structural editability with visual fidelity through a programmatic approach using HTML/CSS.

Why It Matters

This research addresses the limitations of current graphic design generation methods, which often compromise either visual quality or editability. By proposing a novel framework, it opens new avenues for creating dynamic and visually appealing designs, which can significantly impact fields like web design and digital content creation.

Key Takeaways

  • DesignAsCode offers a programmatic approach to graphic design using HTML/CSS.
  • It introduces a Plan-Implement-Reflect pipeline for improved design generation.
  • The framework outperforms existing methods in structural validity and aesthetic quality.
  • It enables advanced capabilities like automatic layout retargeting and CSS animations.
  • The research highlights the importance of balancing editability and visual fidelity in design.

Computer Science > Graphics arXiv:2602.17690 (cs) [Submitted on 6 Feb 2026] Title:DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation Authors:Ziyuan Liu, Shizhao Sun, Danqing Huang, Yingdong Shi, Meisheng Zhang, Ji Li, Jingsong Yu, Jiang Bian View a PDF of the paper titled DesignAsCode: Bridging Structural Editability and Visual Fidelity in Graphic Design Generation, by Ziyuan Liu and 7 other authors View PDF HTML (experimental) Abstract:Graphic design generation demands a delicate balance between high visual fidelity and fine-grained structural editability. However, existing approaches typically bifurcate into either non-editable raster image synthesis or abstract layout generation devoid of visual content. Recent combinations of these two approaches attempt to bridge this gap but often suffer from rigid composition schemas and unresolvable visual dissonances (e.g., text-background conflicts) due to their inexpressive representation and open-loop nature. To address these challenges, we propose DesignAsCode, a novel framework that reimagines graphic design as a programmatic synthesis task using HTML/CSS. Specifically, we introduce a Plan-Implement-Reflect pipeline, incorporating a Semantic Planner to construct dynamic, variable-depth element hierarchies and a Visual-Aware Reflection mechanism that iteratively optimizes the code to rectify rendering artifacts. Extensive experiments demonstrate that DesignAsCode significantly outper...

Related Articles

[2602.08277] PISCO: Precise Video Instance Insertion with Sparse Control
Generative Ai

[2602.08277] PISCO: Precise Video Instance Insertion with Sparse Control

Abstract page for arXiv paper 2602.08277: PISCO: Precise Video Instance Insertion with Sparse Control

arXiv - AI · 4 min ·
[2511.18746] Any4D: Open-Prompt 4D Generation from Natural Language and Images
Machine Learning

[2511.18746] Any4D: Open-Prompt 4D Generation from Natural Language and Images

Abstract page for arXiv paper 2511.18746: Any4D: Open-Prompt 4D Generation from Natural Language and Images

arXiv - AI · 4 min ·
[2512.14549] Dual-objective Language Models: Training Efficiency Without Overfitting
Llms

[2512.14549] Dual-objective Language Models: Training Efficiency Without Overfitting

Abstract page for arXiv paper 2512.14549: Dual-objective Language Models: Training Efficiency Without Overfitting

arXiv - AI · 3 min ·
[2510.21011] Generating the Modal Worker: A Cross-Model Audit of Race and Gender in LLM-Generated Personas Across 41 Occupations
Llms

[2510.21011] Generating the Modal Worker: A Cross-Model Audit of Race and Gender in LLM-Generated Personas Across 41 Occupations

Abstract page for arXiv paper 2510.21011: Generating the Modal Worker: A Cross-Model Audit of Race and Gender in LLM-Generated Personas A...

arXiv - AI · 4 min ·
More in Generative Ai: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime