A college project in C.
Simplified version of Microsoft's Paint - supports color picking, brush thickness selection, drawing, and erasing.
- Run
Graphics_final.exeor compileGraphics final.slnvia Visual Studio.
Raw code is in Graphics_final/paint.c.
Note
You might need to download glut32.dll if your PC doesn't have it already.
- Choose a resolution (
800x600,1024x768,1920x1080) from the console by pressing the corresponding number (1, 2, 3). - Use the top menu to choose tools, colors, thickness, etc.
- Right-click anywhere for more options, such as changing the resolution (this will clear your work) or clearing the canvas.
Caution
Resizing the window by dragging the mouse clears the canvas.