# Tag Archives: computer-graphics

## Cubic Bezier Curve Implementation in CNovember 21, 2017

What is a bezier curve? So a Bezier curve is a mathematically defined curve used in two-dimensional graphic applications like abode illustrator,inkscape etc.The curve is… Read More »

## Rendering a Triangle using OpenGL(using Shaders)

In this article we’ll see how to render a triangle using OpenGL. A triangle is probably the simplest shapes you can draw in OpenGL after… Read More »

## Vector vs Raster GraphicsSeptember 28, 2017

Before we begin with what vector graphics and raster graphics are, we must understand a few basic terms: Pixel : In Computer graphics a pixel,… Read More »

## Koch Curve or Koch SnowflakeSeptember 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 »

## Snowflakes Fractal using PythonSeptember 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 »

## Neighbors of a point on a circle using Bresenham’s algorithmJuly 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 »

## Translation of objects in computer graphicsJuly 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 »

## Bresenham’s circle drawing algorithmJuly 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 »

## 2D Transformation | Rotation of objectsJune 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 »

## Program to find line passing through 2 PointsJune 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 »

## OpenGL program for simple Animation (Revolution) in CJune 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 »

## Mid-Point Circle Drawing AlgorithmJune 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 »

## OpenGL program for Simple Ball Game

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 »

## Getting started with OpenGLJune 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 »

## Scan-line Polygon filling using OPENGL in CMay 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 »