---
title: "Rajkumar V Patil (@rajkumarpatil) | Hashnode"
description: "Assistant Professor at NBN Sinhgad School of Engineering, Pune. Read the latest articles by Rajkumar V Patil on Hashnode."
url: "https://hashnode.com/@rajkumarpatil"
---

@rajkumarpatil

# Rajkumar V Patil

@rajkumarpatil · Joined January 2021

Assistant Professor at NBN Sinhgad School of Engineering, Pune

### [Assignment 3 .Bresenham’s circle drawing algorithm](https://rajkumarpatil.hashnode.dev/assignment-3-bresenhams-circle-drawing-algorithm?utm_source=hashnode&utm_medium=feed)

Bresenham’s circle drawing algorithm Set initial values of (xc, yc) and (x, y) Set decision parameter d to d = 3 – (2 \* r). do while x < = y Call 8way drawCircle(int x, int y). Increment value of x. If d < 0, set d = d + (4\*x) + 6 Else, set d = d +...

2 min read · [rajkumarpatil.hashnode.dev](https://rajkumarpatil.hashnode.dev/assignment-3-bresenhams-circle-drawing-algorithm?utm_source=hashnode&utm_medium=feed)

[Mar 15, 2021](https://hashnode.com/posts/assignment-3-bresenhams-circle-drawing-algorithm/604f9068825b051f2b9dbe3a)

### [4\. Bresenham's Line Algorithm in C++ using Glut](https://rajkumarpatil.hashnode.dev/4-bresenhams-line-algorithm-in-c-using-glut?utm_source=hashnode&utm_medium=feed)

Algorithm Code in c++ using Glut #include<GL/glut.h> #include<math.h> #include<iostream> using namespace std; float x\_1,y\_1,x\_2,y\_2; void Line(){ float dy, dx, m , P; dy = y\_2 - y\_1; dx = x\_2 - x\_1; m = dy/dx; P = 2\*dy - dx...

2 min read · [rajkumarpatil.hashnode.dev](https://rajkumarpatil.hashnode.dev/4-bresenhams-line-algorithm-in-c-using-glut?utm_source=hashnode&utm_medium=feed)

[Mar 7, 2021](https://hashnode.com/posts/4-bresenhams-line-algorithm-in-c-using-glut/6044b2635a56f82fa3ecca12)

### [3\. DDA Line Drawing Algorithm in C++ using GLUT Basic](https://rajkumarpatil.hashnode.dev/3-dda-line-drawing-algorithm-in-c-using-glut-basic?utm_source=hashnode&utm_medium=feed)

DDA Line Drawing Algorithm Given 2 point (x1, y1) to (x2,y2) \`\`\` 1. Read Line end point (x1,y1)(x2,y2) 2. ∆x = |x2-x1| , ∆y = |y2-y1| 3. If(∆x ≥ ∆y) Then Length = ∆x Else ...

3 min read · [rajkumarpatil.hashnode.dev](https://rajkumarpatil.hashnode.dev/3-dda-line-drawing-algorithm-in-c-using-glut-basic?utm_source=hashnode&utm_medium=feed)

[Mar 1, 2021](https://hashnode.com/posts/3-dda-line-drawing-algorithm-in-c-using-glut-basic/603d36a9c3970d02fe0fdefa)

### [1\. Introduction to Computer Graphics (Glut)](https://rajkumarpatil.hashnode.dev/1-introduction-to-computer-graphics-glut?utm_source=hashnode&utm_medium=feed)

INTRODUCTION What is Computer Graphics? Branch of Computer Science. Computer + Graphs + Pics = Computer Graphics. Drawing line, Chart, Graphs etc. on the screen using Programming language is computer Graphics. Book Definition Computer graphics is ...

2 min read · [rajkumarpatil.hashnode.dev](https://rajkumarpatil.hashnode.dev/1-introduction-to-computer-graphics-glut?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/1-introduction-to-computer-graphics-glut/602c05db4bb9c4083f027b97) [Feb 16, 2021](https://hashnode.com/posts/1-introduction-to-computer-graphics-glut/602c05db4bb9c4083f027b97)

### [2\. GLUT Triangle(Computer-Graphics)](https://rajkumarpatil.hashnode.dev/2-glut-trianglecomputer-graphics?utm_source=hashnode&utm_medium=feed)

Shows how to use GLUT. Has minimal structure: only main() and a display callback. Draws only using glColor and glVertex within glBegin and glEnd in the display callback. Uses only the GL\_POLYGON drawing mode. Illustrates glClear and glFlush. // A sim...

3 min read · [rajkumarpatil.hashnode.dev](https://rajkumarpatil.hashnode.dev/2-glut-trianglecomputer-graphics?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2021](https://hashnode.com/posts/2-glut-trianglecomputer-graphics/602b6fe5f1261277763afbb7)
