neuralart
A library and command line utility for rendering generative art from a randomly initialized neural network.
Based on the following blog posts and pages from studio otoro
- Neural Network Generative Art in Javascript
- Generating Abstract Patterns with TensorFlow
- Neurogram
- Interactive Neural Network Art
Requirements
neuralart supports Python 3.x.
Linux, Mac, and Windows are supported.
Other operating systems may be compatible if the dependencies can be properly installed.
Dependencies
- PyTorch
- Pillow
Installation
neuralart is available on PyPI, the Python Package Index.
$ pip install neuralart
Command Line Utility
There is a command line utility for generating images. Use the --help
flag for more information.
$ neuralart --help
Example
$ neuralart \ --seed 2 \ --xres 2048 \ --hidden-std 1.2 \ example.png
![https://github.com/dstein64/neuralart/blob/master/images/example-400.png?raw=true](https://github.com/dstein64/neuralart/raw/master/images/example-400.png?raw=true)
Library Example Usage
See example.py.
License
The code in this repository has an MIT License.
See LICENSE.