Example of a 32 x 32 x 16 spritesheet (16 tiles of 32px x 32px tileable worley noises)
- Worley generation
- Perlin generation
- Perlin-Worley generation
- RGB generation
- Custom spritesheet size
- Custom tile size
Using the stb_image_write header file from https://github.com/nothings/stb/
- CMAKE
- SFML
sudo apt install cmake libsfml-dev
mkdir build && cd build && cmake .. && make
There are two modes of operation:
- Spritesheet mode
- Preview mode
By default, without any arguments, it will generate a tileable worley noise spritesheet using the configuration in the code:
./build/bin/TileableWorleyGen
To generate the preview of how a worley tile would look like, just add the --preview
argument when running the generated file in the ./bin
folder:
./build/bin/TileableWorleyGen --preview