This repository contains a collection of computer graphics programs written in the C programming language. These programs are designed to help beginners learn the fundamentals of computer graphics and provide a hands-on approach to understanding the various algorithms and techniques used in graphics programming.
To run the programs in this repository, you will need a C compiler installed on your system. The programs have been tested with the GNU Compiler Collection (GCC) on Linux, macOS, and Windows.
To use these programs, simply clone the repository to your local machine using the following command:
git clone https://github.com/Biswadeep01/Computer-Graphics-in-C-Language.git
Once the repository has been cloned, navigate to the directory and compile the program using the following command:
gcc program-name.c -o program-name -lGL -lGLU -lglut
Replace 'program-name' with the name of the program you wish to compile.
Bresenham's Line Drawing Algorithm
Midpoint Circle Drawing Algorithm
Midpoint Ellipse Drawing Algorithm
Flood Fill Algorithm
Boundary Fill Algorithm
Scan Line Polygon Fill Algorithm
2D Transformation: Translation, Scaling, Rotation
Contributions to this repository are welcome.
If you have any suggestions, bug reports, or feature requests, please submit them as issues or pull requests.