gyetvaitamas / gen-art

Making computer art with generative algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Making computer art with generative algorithms

This project was built with

Tested on Windows 10 Pro 64-bit (1909)

Motivation

Re-thinking dvalim/art-automata cell project.

In the original idea, the program generates almost everything based on random numbers, which results some very nice or very bad images. Sometimes I got really fantastic samples with good random numbers and I wondered how can I reproduce again the image. In the beginning I just sent out the values to the console, later I needed a panel where I can set up manually and test continuously the result.

Installation

Please read the very detailed installation instruction on the official openFrameworks website for your OS. However, if you develop in VS 2017, I suggest you to use solution platform x64, otherwise you should download and fix the missing FreeImage.dll common problem. It occurs only in Win32 mode. Also, disabling Automatic Precompiled Header is highly recommended on notebooks with small storage, instructions in the guide too.

Tip: Easiest way to build a pre-made project (like this), just use projectGenerator.exe (of_v0.11.0_vs2017_release\projectGenerator-vs), load the project folder, click on Generate, then you can open it in VS.

Usage

Width

Image width in pixels.

Height

Image height in pixels.

Resolution

Image resolutuion.

Noise seed

For getNoise() funciton, it gives some extra simplicity or more details based on the value.

Gaussian noise

For getNoise() funciton, it gives some extra simplicity or more details based on the value.

Coordinate scale

Scale of the sample(s) on the image, less number results less scale, large number results large scale of sample(s).

Rules count

Pre-setup for states, less number results less complex sample(s), large number results more complex sample(s).

Rules - minimum value

Lower limit of the rule for generating random value.

Rules - maximum value

Upper limit of the rule for generating random value.

Use pre-defined rules

Using the pre-defined rules what you adding in the source.

Hard randomize

Wildcard values, randomization feature. Might result bad / boring samples.

Notes

It is saving the process configuration in the bin/data/configs.txt file after you close the program.

The images will be saved in bin/images/ folder.

The base values of inputs are gave by me for processing images I like, tweak it as you wish but don't go crazy, therefore you will break the program. Keep in mind that you should calculate the correct resolution value based on the width, height and the quality you want to achieve! A pre-defined rule can be anything between 1-256 and the rules count can be anything between 2-99.

TODO

  • More tweak options
  • Color management
  • Real time rendering, animation

About

Making computer art with generative algorithms

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%