Skip to content

anaulin/generative-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot Molecule Generative Art

The code in this repo powers http://robotmolecule.com, where a new generative artwork is posted every hour. You can buy prints, tees, household goods and other productswith some of these works at https://anaulin.redbubble.com

Each directory in this repo contains a different "dream" type for the Robot Molecule.

Packings

Flowering Certification (circle packing)

Example outputs:

Square packing

Example output:

Auto-Mondrian

Example output:

Fingers

Example output:

Tectonic Thermal Mass Refrigerator (nested squares)

Example output:

Obtuse Washing Machine (coral play)

Example output:

Glitch-like lines in square cells

Example output:

Random lines

Example output:

Reeds

Example output:

More in the reeds and its README.

Diagonals

Example output:

More in the thick_diagonals and its README.

Petal grid

Example output:

More in the petal_grid and its README.

Abstract retro grid

Example output:

More in the abstract-grid and its README.

Pyramids

Example output:

More in the pyramids directory and its README.

Squiggly lines

Example output:

More in the squiggly-lines directory and its README.

Squiggly nodes

Example output:

More in the squiggly-nodes directory and its README.

Just circles

Curving lines

Example output:

More in the curving-lines directory and its README.

Broken lines

Example output:

More in the broken-lines directory and its README.

Esses

Example output:

More in the esses directory and its README.

Just shapes

Example output:

More in the just-shapes directory and its README.

Un deux trois

After Vera Molnar. Example output:

More in the un-deux-trois directory and its README.

Shiny bars

Example output:

More in the shiny-bars directory and its README.

Shaded discs

Example output:

More in the shaded-discs directory and its README.

Shiny spheres

Example output:

More in the shiny-spheres directory and its README.

Color field

Example output:

More in the color_field directory and its README.

Truchet tilings

Tiled lines

Example output:

More in the tiled_lines directory and its README.

Contrasting triangles

Example output:

More in the contrasting-triangles directory and its README.

Excitedly Inoffensive Mercury (quarter circles)

Example output:

More in the quarter-circles directory and its README.

Quarter squares

Example output:

More in the quarter-squares directory and its README.

Shaky circles

Example output:

More in the shaky_circles directory and its README.

Shaky squares

Example output:

More in the shaky_squares directory and its README.

Lanterns

Example output:

More in the lanterns directory and its README.

Versed Maple (triangles)

Dulled Air Ioniser (triangles two)

Bubbles

Fingers two

Self-portrait (robots)

Drops

Development

Virtual env and dependency install

Create new virtual env:

$ python3 -m venv .venv

Activate virtual env:

$ source .venv/bin/activate

Install requirements:

pip install -r requirements.txt

Installing pycairo

On macOS, you'll need to install cairo itself first. You can do this using Homebrew:

$ brew install --cc=clang cairo

If you get an error that says 'pkg-config' not found, try:

$ brew install pkg-config

See more discussion on this error here: googlefonts/fontdiffenator#38

Installing Shapely dependencies

It needs the geos library:

$ brew install geos

Installing Pillow dependencies

$ brew install libjpeg

License

This code is available under an AGPL-3.0 License. Images are available under a Creative Commons Attribution-NonCommercial-ShareAlike license.

If you'd like to use this code or images for commercial purposes, please contact me at ana@ulin.org. I'm also available for commissions and custom work.