Skip to content

edemaine/character-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithmic Character Layout

This software implements a simple algorithm for arranging a collection of images (“characters”) in a perspective (or orthographic) layout that looks uniform. Randomness and tunable parameters make for varied layouts, with no repetition of a pattern.

Example

Here is an example layout produced with the one built-in image included in the software.

Input image: “Umbrella man” drawn by Mariel Bass

A man holding an umbrella

Output layout: 150 characters in 400×200, max height 40%

A perspective layout of 150 umbrella men

Upload your own images and make your own layouts!

Algorithm

The algorithms implemented by this software are described in detail in our paper “Algorithmic Layout of Characters in Perspective” which was presented at BRIDGES 2023.

Sculpture

A version of this software produced the printed patterns in our 14-foot curved-crease sculpture “Hanging Out” (2023), which was exhibited at the Fitchburg Art Museum.

Photograph of Hanging Out sculpture with human standing next to it for scale

Development

To modify and play with the software, run the following commands from a Git clone:

npm install
npm run dev

Then open http://localhost:3000/ in your browser for live development.

Alternatively, you can build a deployable version in dist via the following command:

npm run build

Releases

No releases published

Sponsor this project

 

Packages

No packages published