maddisoj / imgen

A procedural image generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imgen

Imgen utilizes patterns and palettes to procedurally generate unique images of an arbitrary size such as the ones below:

tile-example circlefill-example triangles-example honeycomb-example

Example Use

Imgen can be used to generate infinite wallpapers, a simple shell script can create a image with imgen and then set the wallpaper to that image.

#!/bin/sh

output="/tmp/imgen.png"
read w h <<< $(xrandr | grep '*' | awk '{print $1}' | awk -Fx '{print $1, $2}')

./imgen -w $w -h $h -d $output
feh --bg-fill $output

That script could then be setup as a cron task to create a new, unique wallpaper every hour.

About

A procedural image generator

License:Creative Commons Attribution 4.0 International


Languages

Language:C++ 80.4%Language:Python 18.0%Language:Makefile 1.6%