Skip to content

Generate images in the style of Ellsworth Kelly

Notifications You must be signed in to change notification settings

mxhold/ellsworth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ellsworth

A small program to generate an image in the style of Ellsworth Kelly, inspired by Jenn Schiffer's var t;.

This was mostly just a fun exercise for learning a bit more Rust.

For a much simpler JavaScript implementation, see the index.html file.

Getting started

Requires Rust.

Pull down the project:

git clone git@github.com:mxhold/ellsworth.git
cd ellsworth

Add a file colors.csv with the following format:

name,red,green,blue
brown,92,35,18
blue,82,97,180
orange,239,102,1
skyblue,0,138,181
green,0,103,65
yellow,234,218,1
pink,242,134,157
middleblue,0,100,186
lightorange,241,146,0
red,229,30,0
lightgreen,148,202,108
purple,39,29,102
grey,225,221,218

Then to generate an image with 500x500 pixels and 10x10 tiles at image.png:

cargo build --release
./target/release/ellsworth 500 10

Example image:

Image with large multicolored squares

About

Generate images in the style of Ellsworth Kelly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published