Skip to content
No description, website, or topics provided.
C++ CMake GLSL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
shaders
.gitignore
Allocator.cpp
Allocator.h
Bitmap.cpp
Bitmap.h
CMakeLists.txt
ColorQueue.cpp
ColorQueue.h
ColorSource.cpp
ColorSource.h
ComputeGenerator.cpp
ComputeGenerator.h
CoralGenerator.cpp
CoralGenerator.h
Core.cpp
Core.h
Generator.h
HueSource.cpp
HueSource.h
LICENSE.txt
Options.cpp
Options.h
README.md
Renderer.cpp
Renderer.h
ShuffleSource.cpp
ShuffleSource.h
Staging.cpp
Staging.h
Utilities.cpp
Utilities.h
WaveGenerator.cpp
WaveGenerator.h
WaveGenerator2.cpp
WaveGenerator2.h
main.cpp

README.md

VkColors

This program generates colorful images using algorithms created by Jozsef Fejes.

Usage

VkColors can be invoked from the command line

VkColors [options]

There are multiple options to change the behavior of the image generator.

  • --generator=[generator]

    This selects the algorithm to use in the image generator. Values that can be used are wave, coral, cpu-wave, and cpu-coral. Default is coral.

  • --size=[width]x[height]

    This sets the size of the image. Valid values are any size between 1x1 and 4096x4096. Default is 512x512.

  • --color=[source]

    This sets the method used to color the image. Values that can be used are shuffle and hue. Default is shuffle.

  • --seed=[seed]

    This sets the seed used by the random number generator. Must be a 32-bit unsigned value. Default is based on system time.

Other options can be set, but this may result in strange behavior or crashing.

  • --workgroupsize=[size]

    This sets the size of the compute work group used. Must be positive. Default is 64 on AMD hardware and 32 on anything else.

  • --maxbatchabsolute=[size]

    This sets the maximum number of pixels that can be generated in one batch. Must be positive. Default is 64.

  • --maxbatchrelative=[size]

    This sets the maximum number of pixels that can be generated, based on the current state of the image. Must be positive. Default is 1024.

Build

This project uses CMake as its build system.

You can’t perform that action at this time.