This is an example of using shaders to draw Voronoi diagrams.
The code is based on vertices and grayscale values.
- glfw
- glew
- opengl
cd voroshade
g++ -Wall -o tri tutorial02.cpp -isystem /usr/include/GLFW/ -lglfw -lGLEW -lOpenGL
./tri
Tested on Fedora 26 with Intel Ivy Bridge GPU.
- Sam Hocevar for the tutorial code.
- ARF for tutorials on shaders