This repo showcases 2D line drawing using Bresenham, Midpoint, and Parametric algorithms with SDL. It includes features for clearing the screen 🎨, drawing pixels and markers 🟡, and generating random lines. Press 1, 2, or 3 to draw lines in red, green, or blue 🌈. Press 4 to clear the screen and display a starry sky ✨.
-
Updated
Jul 26, 2024 - C++