Skip to content
#

2d-line-drawing-algorithms-with-sdl

Here is 1 public repository matching this topic...

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 Sep 3, 2024
  • C++

Improve this page

Add a description, image, and links to the 2d-line-drawing-algorithms-with-sdl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the 2d-line-drawing-algorithms-with-sdl topic, visit your repo's landing page and select "manage topics."

Learn more