An algorithm that is used to find points required for plotting and converting a circle over display. Midpoint circle drawing algorithm snippet provided in this… Read More
In this article, we'll be implementing a program to demonstrate 2D scaling of a triangle in computer graphics using C. Scaling can be defined as… Read More
Rotation can be defined as moving an object in a circular path at a given angle theta. If there is a positive angle, it would… Read More
Line clipping is a clipping concept in which lines that lies outside the clipping window is removed from the clip region. As a result, only… Read More
In this article, we'll be clipping a line in C using Cohen Sutherland algorithm. Clipping is a process of removing a portion of a line… Read More
The programs accept feet, yards, centimetres, and meters values as input and convert them into inches. And also from feet, yards, meters, cm to inches.… Read More
In this article, we'll be discussing meaning of window, viewport, window to viewport mapping and implementing the concept in form of code. Window It is… Read More
The program accepts hours & minutes as an input and print the result to output screen. It uses basic formula to convert the given input… Read More
In this article, we'll be discussing the meaning of loop and also see the difference between Entry Controlled Loop and Exit Controlled Loop with program… Read More
Midpoint ellipse algorithms uses symmetry property of an ellipse in order draw it. It plots points . Here is the program to draw an ellipse… Read More