From f6d253bd0eae63eab351a70a09d782d1d08df5e4 Mon Sep 17 00:00:00 2001 From: TanmaySpamzzz Date: Thu, 2 Nov 2023 11:51:50 +0530 Subject: [PATCH] Hilbert curve added --- README.md | 1 + README.md~ | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 README.md~ diff --git a/README.md b/README.md index c302d58..40dc4e2 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ This repository contains notes and codes for **Computer Graphics.** 1. [Line](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-line.cpp) 2. [Triangle](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-triangle.cpp) 3. [Circle](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-circle.cpp) +4. [Hilbert Curve](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/HilbertCurve.cpp) #### Cohen-Sutherland diff --git a/README.md~ b/README.md~ new file mode 100644 index 0000000..40dc4e2 --- /dev/null +++ b/README.md~ @@ -0,0 +1,36 @@ +# CG + +This repository contains notes and codes for **Computer Graphics.** + +--- + +## Index + +### Codes +#### Digital Differential Analyzer (DDA) +> Digital Differential Analyzer (DDA) is a line-drawing algorithm for digital displays, using incremental calculations to plot points between endpoints. + +1. [Line](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-line.cpp) +2. [Triangle](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-triangle.cpp) +3. [Circle](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/DDA-circle.cpp) +4. [Hilbert Curve](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/HilbertCurve.cpp) + +#### Cohen-Sutherland + +1. [Cohen-Sutherland (Using Inbuilt Functions)](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/CohenSutherland.cpp) +2. [Cohen-Sutherland (Using DDA Line Drawing Algorithm)](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/CohenSutherland%28UsingDDA%29.cpp) + +### Notes +1. [Unit 1 - Graphics Primitives and Scan Conversion Algorithms](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/notes/Unit%201) +2. [Unit 2 - Polygon, Windowing and Clipping](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/notes/Unit%202) +3. [Unit 3 - 2D, 3D Transformations and Projections](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/notes/Unit%203) + +### Question Papers +1. [IN-SEM](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/question-papers/IN-SEM) +2. [END-SEM](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/question-papers/END-SEM) + +### [Lab Manual](https://git.kska.io/sppu-se-comp-codes/CG/src/branch/main/lab-manual/CGL%20Lab%20Manual.pdf) +--- + +Maintained by [notkshitij](https://git.kska.io/notkshitij) and [TanmaySpamzzz](https://git.kska.io/TanmaySpamzzz) +Contributor: [Kalaskar_admin03](https://git.kska.io/Kalaskar_admin03/)