ZEH FERNANDO

Random Art Generator

As an attempt to create a tool for generating seemingly abstract art from photographs, and also as an excuse to learn the Rust language, I decided to create a command-line based application that takes an input “target” image and attempts to recreate it solely with randomly placed image elements such as squares and circles, using a technique known as hill climbing.

The result is Random Art Generator, or RAG, a Rust-based, low-dependency command line application that takes a rich number of input parameters and creates an image according to those.

This was a fun, open-source personal project with no serious purpose, but it worked very well as an introduction to the language, and to scratch the itch I’ve had of creating this tool for a while. As such, I’m still evolving it by adding more features and improving on the code when I can, at the same time posting some creations online at Instagram and Twitter.

It also made me really fall in love with Rust. I expect to be using it for a while, even if only in personal projects.

Details

Date

2020

Type

Command Line Application

Platforms

Linux, macOS, Windows

Programming Language

Rust

Role

Solo Developer

Pure programming time

78h 56m

Previews

Media