using OpenGL for drawing pixels