Generative Art
This is my personal project for making Generative Art.
Installation
There are three ways of getting the binary. You can either download from the releases page, or, if you have cargo
installed, you can run:
cargo install --git https://github.com/chilipepperhott/generative-art generative-art
You can also run the program inside of WebAssembly.sh. Read
WebAssembly.sh
If you want to run the command-line app in the browser, here is what you can do:
-
Download
generative-art.wasm
from the releases page,. -
WebAssembly.sh in your browser. Chromium based browsers tend to work better.
-
Drag
generative-art.wasm
over the webpage and drop it. This loads the program. -
That's it! Now you can use
generative-art
inside the browser the same way you would use it locally. If you want to usepreslav
you can use the same process as Step 3 to add photos to terminal. If you want to download a generated image, just usedownload
.
Structure
There are two crates:
- generative-art: algorithms for generation.
- ga-web: a web interface for the project. You can try it out on my website.
Generative art
Right now, there are just two generators:
- Preslav: the Rust implementation of Preslav Rachev's book Generative Art in Go.
- Celestial: simulates and renders the motion of celestial objects.