Skip to content
Book Open access

Demo: Drawing Algorithms as Modular Objects: A Framework for Procedurally Generated Visual Arts and Music

Aug 2026 · Proceedings of the 14th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling, and Design · 0 citations · 1 references

TL;DR

This work develops a framework in JavaScript to create a drawing algorithm that draws visual artworks in the style of visionary artist Piet Mondrian and contemporary artist Adam Lister.

Abstract

We developed a framework in JavaScript for procedurally generating visual artworks and music. This framework specifies how drawing algorithms are structured to step-by-step create images. While images are being generated, drawing actions are (optionally) converted to sounds to create music. Drawing algorithms are treated as objects that carry a state that changes over time. The current state determines how the next drawing step adds to and manipulates the image canvas. Drawing algorithms can run independent of each other with a collection of premade functionalities such as initialize, start, pause, reset, and drawOneStep. In addition, drawing algorithms can be passed as input into functions allowing them to run under a variety of configurations and be connected to user interfaces and external applications. Furthermore, using this framework, we present a particularly interesting example of a drawing algorithm that has a dual purpose for both visually representing solutions to an algorithmic problem and for creating unique artworks. This algorithmic problem is defined as follows. Given an m by n binary matrix, our task is to enumerate all rectangular blocks containing only 1 entries on the border and 0 entries within the interior. The authors previously developed a solution for this problem that runs in O(m · n) time using O(n) space. We adapt this solution to create a drawing algorithm that draws visual artworks in the style of visionary artist Piet Mondrian and contemporary artist Adam Lister.

Read PDF

Similar papers

Book Open access Jul 2026

Synthetic Gestures: An Evolutionary Sketching Machine

There is growing interest in using pretrained machine learning models for non-photorealistic rendering and sketch synthesis. However, existing approaches typically rely on differentiable rendering, which can be constraining for artists working with algorithmic processes and mechanical plotters. This pictorial introduce...

Matt DesLauriers · 0 citations
Book Open access Jul 2026

Breathing Life into Illustrations - Building a look for Stylized Compositing

The template starts with a very basic, procedural setup and allows artists to build upon it by adding snippets and modules, which allowed us to stay agile, address a wide variety of challenges with a small number of toolsets, and keep the authors' look consistent throughout the film.

Megan Deane, Rebecca J. Lin · 0 citations
Book Open access Jul 2026

AI for Creative Visual Content Generation Editing and Understanding

The goal is not to present AI as a replacement for artists, but to show how controllable AI systems can support more precise, collaborative, and extensible forms of creative production.

Zheng Wei, Yuying Tang, Mia Tang et al. · 0 citations
Preprint Jul 2026

ArtChart: Faithful Artistic Chart Generation with Integrated Text Rendering

ArtChart is introduced, a framework for faithful artistic chart generation with integrated text rendering that consistently outperforms prompt-only, image-editing, and generic ControlNet baselines, with the largest gains on mathematical fidelity and label-layout binding while maintaining competitive visual quality.

Mei-Jia Huang, Ying-Jie Yin, Shi-Hao Wang et al. · 0 citations
Review Open access 2026

A Practical View on Procedural Generation: Benefits, Capabilities, and Usability

This review synthesizes the characteristics, benefits and drawbacks of various procedural generation methods, helping developers choose the most appropriate technique based on a particular use case.

Robert Andrei Caragicu, Anca Morar, A. Moldoveanu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.