/spacescape

Wallpaper generator

Primary LanguageCThe UnlicenseUnlicense

spacescape

Wallpaper generator

Inspired by http://wwwtyro.github.io/procedural.js/space/

Uses GLSL to generate large images quickly, with the intention of generating wallpapers (tests on my machine took about 1ms to generate a 3840x1080 image)

Probably poorly coded as I've been learning OpenGL / GLSL along the way

========== ###Usage:

Commandline options:

flag action
-h, --help display this help and exit
-o, --output=[value] no value => save 1 image (to <timestamp>.png)
int value => save $value images
str value => save 1 image to filename $value
-s, --size=<width*height> image size (default = 1920*1080)

Windowed mode:

key action
space generate a new image
s save the image as a PNG file
escape exit

========== ###Example images:

==========

Currently generates stars and suns similarly to wwwtyro's, but the nebula generation is completely different (and in most cases not as nice looking), because GLSL doesn't allow recursion