Demo Sierpinski.Tetrahedron.mp4 How to compile Make sure you have GLUT installed on your system. Then run the following command: g++ main.cpp -lGL -lGLU -lglut Note I am sure the code is very unoptimised. So, feel free to make a pull request!