Giter VIP home page Giter VIP logo

arpitmaheshwari213 / computer-graphics Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 805 KB

This repository contains implementation in C++ for various computer graphics-based algorithms including DDA, Bresenham algorithm, basic geometry and graphs drawing algorithms, scanline fill, boundary fill, and flood fill algorithms.

C++ 100.00%
computer-graphics dda-algorithm flood-fill boundary-fill-algorithm bresenham-algorithm cpp cpp-computer-graphics

computer-graphics's Introduction

Computer-Graphics

This repository is helping me to keep a regular check on my computer graphics assignments. It contains solutions in C++ for various computer graphics based algorithms including DDA,Bresenham algorithm, basic geometry and graphs drawing algorithms, scanline fill, boundary fill and flood fill algorithms.

Assignment questions can be found in the file named Assignment.pdf

Solutions for Assignment 1:-

  1. FIGURES.CPP
  2. LINE.CPP AND LINE3.CPP
  3. LINE2.CPP
  4. GRAPH.CPP AND GRAPH2.CPP
  5. CIRCLE2.CPP
  6. WHEEL.CPP

Solutions for Assignment 2:-

  1. POLYGONP.CPP
  2. POLYGONR.CPP
  3. POLYGONS.CPP
  4. BOUNDARY.CPP
  5. FLOODFIL.CPP
  6. CLIPPING.CPP
  7. LINECLIP.CPP
  8. TRANSFOR.CPP

References :-

1.Computer Graphics by Donald D.Hearn and M. Pauline Baker

2.Assignment 2 Q.7 from http://www.geeksforgeeks.org/line-clipping-set-1-cohen-sutherland-algorithm/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.