Skip to content

markstock/NoiseGen

Repository files navigation

NoiseGen

Command-line tool to generate 1D, 2D, or 3D noise textures


This file is part of NoiseGen. Copyright 2012,15,21 Mark J. Stock and James Sussino

NoiseGen is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

NoiseGen is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with NoiseGen. If not, see http://www.gnu.org/licenses/.


Installation and usage

Requires CMake, FFTW, and libpng to build. Install these on Fedora/RPM systems with:

sudo yum install cmake libpng-devel fftw-devel

Then, clone this repository:

git clone https://github.com/markstock/NoiseGen.git

Make a build subdirectory and run cmake:

cd NoiseGen
mkdir build
cd build
cmake ..
make

To run the resulting program and see a list of options, run

./noisegen -h

Here are some sample command-lines:

noisegen -d 2 -n 512 512 -o out01.png
noisegen -d 2 -n 512 512 -g -o out02.png
noisegen -d 2 -n 512 512 -pink -o out03.png
noisegen -d 2 -n 512 512 -e -0.5 -o out04.png
noisegen -d 2 -n 512 512 -e -1.5 -o out05.png
noisegen -d 2 -n 512 512 -e -1.5 -seed 134676 -o out06.png
noisegen -d 2 -n 512 512 -e -0.5 -p 0.1 -1 0 0.05 10.0 -p 0.8 -0.2 0 0.05 10.0 -p 0.7 0.1 0 0.05 10.0 -o out15.png
noisegen -d 2 -n 512 512 -e -0.5 -p 0.1 -1 0 0.05 3.0 -p 0.8 -0.2 0 0.05 3.0 -p 0.7 0.1 0 0.05 3.0 -o out16.png
noisegen -d 2 -n 512 512 -e -1.2 -p 0.1 -1 0 0.05 3.0 -p 0.8 -0.2 0 0.05 3.0 -p 0.7 0.1 0 0.05 3.0 -o out17.png
noisegen -d 2 -n 100 300 -e -0.5 -p 0.7 0.7 0 0.05 10.0 -o out18.png
noisegen -d 2 -n 700 300 -e -0.5 -p 0.7 0.7 0 0.05 10.0 -o out19.png
noisegen -d 2 -n 500 300 -e -0.5 -p 0.7 0.7 0 0.05 10.0 -p 0.1 1.0 0 0.05 10.0 -o out20.png
noisegen -d 2 -n 5000 3000 -pink -p 0.7 0.7 0 0.05 10.0 -p 0.1 1.0 0 0.05 5.0 -g -o out23.png
noisegen -d 2 -n 5000 3000 -red -p 0.7 0.7 0 0.05 10.0 -p 0.1 1.0 0 0.05 5.0 -g -o out24.png
noisegen -d 2 -n 5000 3000 -white -p 0.7 0.7 0 0.05 10.0 -p 0.1 1.0 0 0.05 5.0 -g -o out25.png

If you have any questions or encounter any problems, please create an issue.


Developer information

ToDo List

About

Command-line tool to generate 1D, 2D, or 3D noise textures

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published