Paint Brush
This is a graphics package made in C. It has functions for
drawing freehand,lines,ellipses,rectangles as well as
filling,erasing,saving and restoring images.
Snake
This is a game made by Kamal Pariyani where the objective
of the game is to eat as much food on the screen. The length of
the snake increases due to this and the game is over when the snake
crosses itself.
Following are a few programs in C/C++ implementing many common
graphics algorithms usually part of many graphics courses
Note: All programs are written in Turbo C++. So if the graphics driver
is not autodetected, enter its location in
initgraph(&gd,&gm,"");
instead of the empty string.
Animation of ball rolling down a slope
Cohen-Sutherland line clipping algorithm
Liang-Barlsky line clipping algorithm
Sutherland-Hodgeman polygon clipping algorithm
Archery Game This is an archery game written in C by Arun Prasanth