esse/Basic-Primitives-Drawing-Algorithms
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Compile instructions: gcc -lallegro_primitives -lallegro_main -lallegro -x c -std=c99 main.c -o flood Requirements: C compiler Allegro5 library INSTRUCTION LPM - draw line PPM - flood fill ESC - Quit program W - switch to draw lines using Wu Rokne algorithm P - switch to draw lines using DDA algorithm T - test DDA algorithm (should draw a square) Y - test WuRokne algorithm (should draw a square) B - benchmark of DDA and WuRokne algorithm (clears screen!) C - clear screen
About
Simple project that I created for computer graphics class - DDA and WuRokne algorithms for drawing lines and queue based FloodFill to fill areas. Written in C, using allegro5 library.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published