Lets Code MS DOS 0x20: Bresenham Line Drawing @root42
Lets Code MS DOS 0x20: Bresenham Line Drawing  @root42
Uploaded May 2023 | Updated November 2026, 5 hours ago
If you want to do graphics programming at some point or other you will have to draw or at least compute straight lines. Those can be use for many things: simple 2D primitives, 3D wireframe graphics, UI elements, or linear motion of sprites and objects. There is a very fast algorithm developed originally by the mathematician Jack E. Bresenham. Its main advantage is that it is very simple and does not require any floating point arithmetics. Which is a good thing on old and slow DOS machines. Let’s investigate this algorithm and code up a nice screensaver!

Support me on Patreon: patreon.com/root42
Support me on Ko-Fi: ko-fi.com/root42
Support me on PayPal: paypal.me/ArneSchmitz
Support me on YouTube: youtube.com/channel/UCPjFa_UZBUDzdJTIEdyGjIQ/join

Music: A Little Wonder by Spino2006

Source Code: gist.github.com/root42/9268f4497e3f6f43babce8c88e18407d
Lets Code MS DOS 0x20: Bresenham Line DrawingLets Code MS DOS 0x1E: Power BASIC SnowflakeSEGA GameGear Shell ReplacementLets Code MS DOS 0x38: Huge Pointers in Turbo CCreepy Toy Dog Repair!Today is 5-25 so we format a 5,25“ on the CBM 8050! #floppydisk👾Retro Spiele Club in Hamburg👾The Pixel Museum in BrusselsXMas Lötstream - Theres Solder In The Air!Commodore 1541 Disk Drive DifferencesRecording MIDI Music onto FloppiesLötstream: Pico GUS
root42 |

Let's Code MS DOS 0x20: Bresenham Line Drawing

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER