What is it about?

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. 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 in the style of visionary artist Piet Mondrian.

Featured Image

Why is it important?

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.

Perspectives

We hope that this work will help in our pursuit to build a digital research platform that brings together artists and technologists.

Michael Wehar
Haverford College

Read the Original

This page is a summary of: Demo: Drawing Algorithms as Modular Objects, August 2026, ACM (Association for Computing Machinery),
DOI: 10.1145/3830435.3830953.
You can read the full text:

Read

Contributors

The following have contributed to this page