##
Koch Curve or Koch Snowflake
September 24, 2017

What is Koch Curve? The Koch snowflake (also known as the Koch curve, Koch star, or Koch island) is a mathematical curve and one of… Read More »

September 24, 2017

What is Koch Curve? The Koch snowflake (also known as the Koch curve, Koch star, or Koch island) is a mathematical curve and one of… Read More »

September 4, 2017

To create Snowflake fractals using Python programming What are fractals A fractal is a never-ending pattern. Fractals are infinitely complex patterns that are self-similar across… Read More »

July 27, 2017

Given a center of a circle and its radius. our task is to find the neighbors of any point on the discrete circle. Examples: Input… Read More »

July 17, 2017

In computer graphics, we have seen how to draw some basic figures like line and circles. In this post we will discuss on basics of… Read More »

July 14, 2017

It is not easy to display a continuous smooth arc on the computer screen as our computer screen is made of pixels organized in matrix… Read More »

June 26, 2017

We have to rotate an object by a given angle about a given pivot point and print the new co-ordinates. Examples: Input : {(100, 100),… Read More »

June 25, 2017

Given two points P and Q in the coordinate plane, find the equation of the line passing through both the points. This kind of conversion… Read More »

June 20, 2017

OpenGL is a cross-language, cross-platform API for rendering 2D and 3D Vector Graphics. Using this, we can make a lot of design as well as… Read More »

June 15, 2017

We need to plot the perimeter points of a circle whose center co-ordinates and radius are given using the Mid-Point Circle Drawing Algorithm. We use… Read More »

Prerequisite – OpenGL OpenGL is a cross-language, cross-platform API for rendering 2D and 3D Vector Graphics. Using this, we can make a lot of design… Read More »

June 1, 2017

Open Graphics Library (OpenGL) is a cross-language (language inependent), cross-platform (platform independent) API for rendering 2D and 3D Vector Graphics(use of polygons to represent image).… Read More »

May 9, 2017

Figures on a computer screen can be drawn using polygons. To fill those figures with color, we need to develop some algorithm.There are two famous… Read More »

Anti-Aliased Line Drawing Below is the image showing line drawn with Bresenham’s line algorithm (left) and Xiaolin Wu’s line algorithm (right) which smooths the line.… Read More »

May 7, 2017

A scaling transformation alters size of an object. In the scaling process, we either compress or expand the dimension of the object. Scaling operation can… Read More »

May 6, 2017

While trying c graphic programming on Ubuntu, I figured out that graphic.h is not a standard C library and it is not supported by gcc… Read More »