From: Svjatoslav Agejenko Date: Wed, 14 Aug 2024 12:54:07 +0000 (+0300) Subject: Fixed program documentations X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=261f60c7a29cdd3499e35bb125f235d7b140568d;p=qbasicapps.git Fixed program documentations --- diff --git a/Graphics/3D/3dball.bas b/Graphics/3D/3dball.bas index 0a4b70a..714c7f0 100755 --- a/Graphics/3D/3dball.bas +++ b/Graphics/3D/3dball.bas @@ -1,5 +1,11 @@ -' 1999, initial version by Svjatoslav Agejenko -' 2024, used AI to enhance program readability +' 3D animation of point-cloud ball bouncing around the screen +' +' by Svjatoslav Agejenko +' homepage: svjatoslav.eu +' email: svjatoslav@svjatoslav.eu +' +' 1999, Initial version. +' 2024.07, Used AI to enhance program readability. DECLARE SUB InitializeScene () DECLARE SUB UpdateOrientation () diff --git a/Math/sinus.bas b/Math/sinus.bas index 0504391..efbf0d1 100755 --- a/Math/sinus.bas +++ b/Math/sinus.bas @@ -2,9 +2,14 @@ ' by Svjatoslav Agejenko in 2003.12 ' Homepage: https://svjatoslav.eu ' Email: svjatoslav@svjatoslav.eu - +' +' 2003.12, initial version +' 2024.08, used AI to enhance program readability +' ' This program calculates the sine of an angle without using -' the built-in SIN function +' the built-in SIN function. Then it plots the calculated sine +' wave alongside the true sine wave for comparison. There is intentional +' vertical 1 pixel offset between the two waves for better visibility of them both. SCREEN 12 diff --git a/Miscellaneous/modes.bas b/Miscellaneous/modes.bas index cbd5d8b..9602423 100644 --- a/Miscellaneous/modes.bas +++ b/Miscellaneous/modes.bas @@ -1,10 +1,11 @@ -' Determine available video modes -' Improved and commented version of the original program by Svjatoslav Agejenko (2001) +' Utility to determine available video modes. +' +' Written by Svjatoslav Agejenko ' Homepage: svjatoslav.eu ' Email: svjatoslav@svjatoslav.eu -' This program determines the available video modes on a computer. -' It is based on the assumption that video mode 1 is always available. +' 2001, initial version +' 2024.08, used AI to enhance program readability DIM SHARED AvailableModes(1 TO 100) AS INTEGER ON ERROR GOTO ErrorHandler diff --git a/Miscellaneous/pal.bas b/Miscellaneous/pal.bas index 819d91d..e1644e9 100644 --- a/Miscellaneous/pal.bas +++ b/Miscellaneous/pal.bas @@ -1,8 +1,11 @@ -' An attempt to generate a universally reusable color palette. -' By Svjatoslav Agejenko in 2001. +' An attempt to generate a universally reusable color palette for 256 color limit. +' By Svjatoslav Agejenko: ' homepage: svjatoslav.eu ' email: svjatoslav@svjatoslav.eu +' 2001, initial version +' 2024.08, used AI to enhance program readability + DEFINT A-Y SCREEN 13 CLS