arXiv · 2611.38908
Can Code Carry Artistic Style? Executable Programs as Transferable Art
Abstract
Coding agents are increasingly adopted for visual content generation, with growing interest in enhancing them with expressive artistic styles. However, existing style transfer skills mainly rely on textual instructions, requiring agents to re-implement low-level drawing details for each new scene and leading to inconsistent outputs. Meanwhile, diffusion-based methods offer high visual quality and reusable style adaptation, yet their implicit representations make it difficult to maintain cross-scene consistency and make fine-grained editing. Inspired by procedural painterly rendering and reusable program libraries, we explore whether artistic styles can be distilled into reusable, transferable, and improvable programs. In this work, we introduce CodeArtist, a Python-based painting engine that encapsulates artistic styles, including palettes, brushwork, and textures, into reusable modules while decoupling them from scene content and motion. Once implemented as executable code, a style can be directly adapted to new scenes without revisiting original artwork, shared from frontier to lower-cost models, and incrementally refined as foundation models advance. Experiments across diverse scenes and models demonstrate consistent style preservation, effective cross-model sharing, and cumulative improvements through modular updates. Overall, we take a preliminary step toward exploring code as transferable art, offering new insights into how aesthetics can persist, be shared, and evolve across models and tasks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Siru Jiang, Yongzhe Lyu, Shuo Lu, Yubin Wang, Jian Liang. 2026-11-28. Can Code Carry Artistic Style? Executable Programs as Transferable Art. https://arxiv.science/abs/2611.38908
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.