Here is some code i did in Computer Graphics lab in opengl. Some mixture of Triangle , Star , Circle , Rectangle coded in Opengl. Star in Opengl