ShababAhmedd / ComputerGraphics_Project

Visualizes a city skyline that changes with the time of day using custom line and circle algorithms in OpenGL (PyOpenGL).

Repository from Github https://github.comShababAhmedd/ComputerGraphics_ProjectRepository from Github https://github.comShababAhmedd/ComputerGraphics_Project

Computer-Graphics-Project

https://www.desmos.com/calculator/y2qvhodvtz

Based on the time given by the user, the position and size of the sun changes in the sky. Also based on this very time, the colour intensity of the sky and the sun changes.

Libraries used:

1) OpenGL
2) NumPy

Algorithms used:

Mid Point Line Drawing Algorithm
Mid-Point Circle Drawing Algorithm
8-Way Symmetry & Bresenham's Circle Algorithm
Zone Conversion Algorithm.

Some Scaling matrices were used.

About

Visualizes a city skyline that changes with the time of day using custom line and circle algorithms in OpenGL (PyOpenGL).


Languages

Language:Python 100.0%