~digital/digital-dreams

computer generated art
Fix typos in README.md
Apply license AGPL-v3.0
Add readme

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~digital/digital-dreams
read/write
git@git.sr.ht:~digital/digital-dreams

You can also use your local clone with git send-email.

#digital dreams

My collection of generative art written in rust. It comes with a webserver that generates and sends images over http.

To run a dream (or the webserver), change into the directory and use cargo +nightly run --release to compile and execute. add -- --help (yes with 4 dashes and 1 space) to see the help message. nightly is recommended because the webserver (rocket) needs it and recompiling for a different release channels is boring. the release flag makes compiling a tiny bit slower but execution gets noticeably faster.

#voronoi

A voronoi diagram generator which is only designed to look good. I wrote a post which explains some more details over here.

image of a computer generated voronoi diagram. each cell has a different color. the cell border are black and have a shadow.

#webserver

This small rocket application will generate images and serves them over http. Compared to the cli ut has a lot more restricions so people can not abuse the server (easily). I does not require any installation for the user and can be embedded in a website.