ELIPSE.BAS - GW-BASIC, ellipse drawing program

ELIPSE.BAS - GW-BASIC, ellipse drawing program

Subscribers:
831
Published on ● Video Link: https://www.youtube.com/watch?v=6t7AiaI-Tmk



Duration: 0:58
165 views
2


Apparently, I didn't know how to spell "ellipse" with two Ls. This program showcases my knowledge of Sine and Cosine functions: SIN() and COS(). I actually figured out what these did on the TI-99/4A back in Grade 3. I knew they always returned between -1 and +1 by experimentation, and the using the primitive tile graphics mode (32x24) mode with asterisks, I made a quarter circle appear on the screen, and everything changed. This GW-BASIC program, running under the PC-BASIC emulator, shows how this can be used to draw circles, and of course, ellipses!


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