View Code? Open in Web Editor
NEW
Academic Lab Course of the 27th batch of Computer Science & Engineering | University of Rajshahi - ๐ง๐ฉ
computer-graphics-lab's Introduction
- Draw the National Flag of Bangladesh โ
- Simulate two dimensional geometric โฆ Translation โ โฆ Rotation โ โฆ Scaling โ
- Draw a line with the Bresenham Line algorithm โ
- Draw a circle with the Midpoint Circle Drawing algorithm โ
- Simulate Visual Surface Detection โ
- Clip some lines with the Cohen Sutherland Line Clipping algorithm โ
- Clip polygon with the Sutherland Hodgman Polygon Clipping algorithm
- Create a Bejier Curve โ
- Draw the Snowflake Pattern with Fractal Geometry โ
CodeBlocks Setup Instructions
- Download TDM GCC 32 Bit Compiler from this
link
- Download Graphics Library: https://drive.google.com/file/d/1z19xxKm2YseQi7QGxqCCdJ-lLfiEGuCm/view
- Extract Graphics Library
- Copy
graphics.h
& winbgim.h
and paste it in C:\\TDM-GCC-32\\include
- Copy
libbgi.a
& paste it in C:\\TDM-GCC-32\\lib
- Now go to
CodeBlocks
-> Settings
-> Compiler
- Go to
Toolchain executables
& change Compiler's installation directory to C:\\TDM-GCC-32
- Go to
Linker Settigns
-> Other linker options
& add -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
computer-graphics-lab's People
Contributors
Stargazers
Watchers