LINESUB.BAS - GW-BASIC, line drawing subroutine

LINESUB.BAS - GW-BASIC, line drawing subroutine

Subscribers:
831
Published on ● Video Link: https://www.youtube.com/watch?v=ytKW-XJiW-0



Duration: 5:06
179 views
2


This is likely my very first line drawing routine. It's not Bresenham's line algorithm by any means, but it is my own invention of interpolation between two points. It is also one of my first programs merely using a bitmapped graphics mode, where you can choose to modify the color of any pixel independently of any other. Previously, I had a TI-99/4A which was 8x8 character tile based with 28 hardware sprites (32 in total, 28 available with TI Extended BASIC). The second program is using the 320x200 16-color Tandy mode, which was very impressive for its time (EGA-level). I later did similar graphic demos using Turbo Pascal and assembly in VGA mode.


My playlists:
--------------------
- Voxel: https://youtu.be/watch?v=XCVWEuhCCDM&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Road: https://youtu.be/watch?v=ck5ALX11YU4&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Ray Casting 3D: https://youtu.be/watch?v=zjswXUTMP2o&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Side-Scroll Shmup: https://youtu.be/watch?v=fF4X8zN-Raw&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- MonoGame Tutorial: https://youtube.com/watch?v=WW1dJnfXWb0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU

My websites:
---------------------
- my GitHub: https://github.com/JDoucette
- my company: http://xona.com
- my Blog: http://thefirstpixel.com