Exploring Bridges Between Algorithmic and AI-generated Art
Jiaqi Wu, Eytan Adar
TL;DR
This work addresses bridging algorithmic art and AI-generated art within a creative coding environment by introducing two libraries: GenP5, which enables diffusion-based stylization and conditioning of algorithmic art in p5.js, and P52Style, which learns the style of algorithmic outputs to guide AI generation. GenP5 provides per-buffer diffusion stylization and conditioning via a client-server pipeline, enabling real-time stylization and pattern-driven constraints. P52Style adds a GUI-driven workflow to capture algorithmic-art style, learn it through Visual Style Prompting, and apply the learned style to AI-generated outputs, addressing the challenge of style transfer from algorithmic artifacts. Together, these tools demonstrate viable integration of programmable art with generative AI, enabling new forms of creative expression and setting the stage for broader, real-time, cross-domain workflows in creative coding environments.
Abstract
In this paper, we bridge algorithmic and AI art by adding functionality to the creative coding environment. We create two systems that demonstrate how AI features can enhance algorithmic art and, conversely, how AI art can be styled based on algorithmically-generated artifacts. The first library, GenP5, extends p5.js to allow the artist to apply diffusion models to style and 'condition' their algorithmically-constructed art. The second, P52Style, can learn the 'style' of an algorithmically generated artifact and apply that when creating new AI art.
