Can Code Carry Artistic Style? Executable Programs as Transferable Art
cs.AI
Submitted: 2026-11-28
Updated: 2026-11-28
License: http://creativecommons.org/licenses/by/4.0/
The gist: Coding agents are increasingly adopted for visual content generation, with growing interest in enhancing them with expressive artistic styles.
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.
Related papers
- Beyond Moral Performance: Empirical Assessment of LLMs' Moral Competence Through Judgment Stability
- K12Vista: Exploring the Boundaries of MLLMs in K-12 Education
- A Matter of TASTE: Improving Coverage and Difficulty of Agent Benchmarks
- FlowSteer: Towards Agents Designing Agentic Workflows via Reinforced Progressive Canvas Editing
- Tokengeist: Multi-Turn Attribution Tracing in Agentic Conversations
- VESTA: Visual Exploration with Statistical Tool Agents