Kary-Tabesh Curve is a technique to investigate if an arbitrary point in space R(n) where n is more than 1 is inside of a closed shape.
This demo uses the Kary-Tabesh Curve to validate each pixel on the screen to see if they are inside a demo triangle and then paints the pixels within the triangle red.
You must be inside a UNIX environment with GCC, OpenGL and GLUT installed. Your installation of GCC must support C++11. Then you can simply run:
make build
And then run
./kary-tabesh-curve
Within the root of this project's directory.