Introduction - If you have any usage issues, please Google them yourself
On Windows systems, install GLUT libraries: Open glut-3.7.6-bin.zip, remove glut.h, glut32.lib, glut32.dll, were placed.
Use Visual Studio C++ compiler has project and modify the code to generate the Star of David pattern. On this basis, modify the color of each vertex, such that each vertex is not the same color, a color gradient inside the polygon.