# rezwan-nabi/computer_graphics architecture

> Architecture diagram of the GitHub repository rezwan-nabi/computer_graphics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rezwan-nabi/computer_graphics
- Repository: https://github.com/rezwan-nabi/computer_graphics

## Overview

This is a coursework collection of independent OpenGL/GLUT graphics programs, not one application with a shared runtime. A user runs an exercise to open its own window and render a scene or graphic; the README describes these as separate assignments. The sampled entry points register display callbacks, though the larger coastal-scene excerpt is incomplete. The graph preserves every listed source, including the major coastal project; it does not infer shared libraries or connections between exercises.

Main entry points: [`Project/main.cpp`](https://github.com/rezwan-nabi/computer_graphics/blob/main/Project/main.cpp) (Coastal Highway), [`4 shapes/main.cpp`](https://github.com/rezwan-nabi/computer_graphics/blob/main/4%20shapes/main.cpp) (Basic Shapes), [`Chessboard/main.cpp`](https://github.com/rezwan-nabi/computer_graphics/blob/main/Chessboard/main.cpp) (Chessboard), [`Guyana Flag/main.cpp`](https://github.com/rezwan-nabi/computer_graphics/blob/main/Guyana%20Flag/main.cpp) (Guyana Flag)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_scene["Animated Scene"]
  node_coastal["Coastal Highway<br/>[main.cpp]"]
end

subgraph group_graphics["Shape Studies"]
  node_basic["Basic Shapes<br/>[main.cpp]"]
  node_board["Chessboard<br/>[main.cpp]"]
end

subgraph group_flags["Flag Studies"]
  node_guyana["Guyana Flag<br/>[main.cpp]"]
  node_kuwait["Kuwait Flag<br/>[main.cpp]"]
  node_norway["Norway Flag<br/>[main.cpp]"]
  node_rsa["South Africa Flag<br/>[main.cpp]"]
  node_togo["Togo Flag<br/>[main.cpp]"]
end

subgraph group_emblem["Emblem Study"]
  node_batman["Batman Logo<br/>[main.cpp]"]
end

node_user(("Learner"))

node_user -->|"runs"| node_coastal
node_user -->|"runs"| node_basic
node_user -->|"runs"| node_board
node_user -->|"runs"| node_guyana
node_user -->|"runs"| node_kuwait
node_user -->|"runs"| node_norway
node_user -->|"runs"| node_rsa
node_user -->|"runs"| node_togo
node_user -->|"runs"| node_batman

click node_coastal "https://github.com/rezwan-nabi/computer_graphics/blob/main/Project/main.cpp"
click node_basic "https://github.com/rezwan-nabi/computer_graphics/blob/main/4%20shapes/main.cpp"
click node_board "https://github.com/rezwan-nabi/computer_graphics/blob/main/Chessboard/main.cpp"
click node_guyana "https://github.com/rezwan-nabi/computer_graphics/blob/main/Guyana%20Flag/main.cpp"
click node_kuwait "https://github.com/rezwan-nabi/computer_graphics/blob/main/Kuwait%20Flag/main.cpp"
click node_norway "https://github.com/rezwan-nabi/computer_graphics/blob/main/Norway%20Flag/main.cpp"
click node_rsa "https://github.com/rezwan-nabi/computer_graphics/blob/main/RSA%20Flag/main.cpp"
click node_togo "https://github.com/rezwan-nabi/computer_graphics/blob/main/Togo%20Flag/main.cpp"
click node_batman "https://github.com/rezwan-nabi/computer_graphics/blob/main/Batman%20Logo/main.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_coastal toneBlue
class node_basic,node_board toneAmber
class node_guyana,node_kuwait,node_norway,node_rsa,node_togo toneMint
class node_batman toneRose
class node_user toneIndigo
```

## Components

### Animated Scene

- [Coastal Highway](https://github.com/rezwan-nabi/computer_graphics/blob/main/Project/main.cpp): `Project/main.cpp`

### Shape Studies

- [Basic Shapes](https://github.com/rezwan-nabi/computer_graphics/blob/main/4%20shapes/main.cpp): `4 shapes/main.cpp`
- [Chessboard](https://github.com/rezwan-nabi/computer_graphics/blob/main/Chessboard/main.cpp): `Chessboard/main.cpp`

### Flag Studies

- [Guyana Flag](https://github.com/rezwan-nabi/computer_graphics/blob/main/Guyana%20Flag/main.cpp): `Guyana Flag/main.cpp`
- [Kuwait Flag](https://github.com/rezwan-nabi/computer_graphics/blob/main/Kuwait%20Flag/main.cpp): `Kuwait Flag/main.cpp`
- [Norway Flag](https://github.com/rezwan-nabi/computer_graphics/blob/main/Norway%20Flag/main.cpp): `Norway Flag/main.cpp`
- [South Africa Flag](https://github.com/rezwan-nabi/computer_graphics/blob/main/RSA%20Flag/main.cpp): `RSA Flag/main.cpp`
- [Togo Flag](https://github.com/rezwan-nabi/computer_graphics/blob/main/Togo%20Flag/main.cpp): `Togo Flag/main.cpp`

### Emblem Study

- [Batman Logo](https://github.com/rezwan-nabi/computer_graphics/blob/main/Batman%20Logo/main.cpp): `Batman Logo/main.cpp`

### Other components

- **Learner**

## Connections

- Learner → Coastal Highway: runs (evidence: `README.md`)
- Learner → Basic Shapes: runs (evidence: `README.md`)
- Learner → Chessboard: runs (evidence: `README.md`)
- Learner → Guyana Flag: runs (evidence: `README.md`)
- Learner → Kuwait Flag: runs (evidence: `README.md`)
- Learner → Norway Flag: runs (evidence: `README.md`)
- Learner → South Africa Flag: runs (evidence: `README.md`)
- Learner → Togo Flag: runs (evidence: `README.md`)
- Learner → Batman Logo: runs (evidence: `README.md`)
