Generate wallpaper images from mathematical functions
Find a file
kueckieben 7aca2ef734 Update flake.nix
gobject-introspection to glib
2025-08-25 08:14:57 +01:00
examples [generator] squares 2021-08-25 13:32:50 +02:00
generators [generators] squares rewrite 2022-12-21 11:04:27 +01:00
.drone.yml Update .drone.yml 2022-03-11 01:05:10 +01:00
.gitignore Fix flake 2021-03-15 00:20:44 +01:00
colors.lua cleanup 2020-11-12 23:09:14 +01:00
convertcolor.lua initial commit 2020-11-12 18:51:57 +01:00
default.nix Add compatiblitity to lagacy nix 2021-07-22 17:05:32 +02:00
flake.lock flake.lock: Update 2024-05-27 12:35:05 +02:00
flake.nix Update flake.nix 2025-08-25 08:14:57 +01:00
LICENSE Create LICENSE 2021-03-15 00:16:59 +01:00
main.lua Revert "Print LUA_PATH and LUA_CPATH at start" 2021-09-23 14:11:28 +02:00
README.md [generator] squares 2021-08-25 13:32:50 +02:00
shell.nix Add compatiblitity to lagacy nix 2021-07-22 17:05:32 +02:00

Wallpaper generator

Generate random wallpapers from mathematical functions using a color palette (like ~/.Xresources).

Add your own generators in wp-gen.lua.

Harmonograph

Lines

Circles

Squares

Batman Equation (because why not?)

Pink Floyd

Development

The project provides a nix-shell with all necesary dependencies and some helpers ready.

# Enter nix-shell
user@host: nix-shell

# Build the project
[nix-shell:~/path] build

There is also a helper function defined, that will allow you to live-preview the generated image. It will run the script on each save and show the image fullscreen.

# Enter nix-shell
user@host: nix-shell

# Preview a generated image
[nix-shell:~/path] preview generator-homograph.png