From: Svjatoslav Agejenko Date: Sat, 29 Aug 2026 23:00:22 +0000 (+0300) Subject: chore: rename captures to program-name scheme, tweak two demos X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=f52323b773e168d8f876069fc10d1bb7bde4b447;p=qbasicapps.git chore: rename captures to program-name scheme, tweak two demos - Replace "screenshot, N.png" / "screenshot.png" captures with " - Screenshot N.png" and add screencast mp4s (Game of life, Lottery, 3D graph, Interferogram, truth, mousedrv) - mousedrv.bas: print button status every frame instead of only when pressed — useful now that held buttons report correctly - 3D graph.bas: SOUND 0, .5 at the start of each nait3d frame --- diff --git a/Math/Game of life/Game of life - Screenshot 0.png b/Math/Game of life/Game of life - Screenshot 0.png new file mode 100644 index 0000000..673e93b Binary files /dev/null and b/Math/Game of life/Game of life - Screenshot 0.png differ diff --git a/Math/Game of life/Game of life - Screenshot 1.png b/Math/Game of life/Game of life - Screenshot 1.png new file mode 100644 index 0000000..3a79a83 Binary files /dev/null and b/Math/Game of life/Game of life - Screenshot 1.png differ diff --git a/Math/Game of life/screenshot.png b/Math/Game of life/screenshot.png deleted file mode 100644 index f1ca1c7..0000000 Binary files a/Math/Game of life/screenshot.png and /dev/null differ diff --git a/Math/Lottery/Lottery analysis - Screencast 1.mp4 b/Math/Lottery/Lottery analysis - Screencast 1.mp4 new file mode 100644 index 0000000..2cec71d Binary files /dev/null and b/Math/Lottery/Lottery analysis - Screencast 1.mp4 differ diff --git a/Math/Lottery/Lottery analysis - Screenshot 0.png b/Math/Lottery/Lottery analysis - Screenshot 0.png new file mode 100644 index 0000000..fae5e41 Binary files /dev/null and b/Math/Lottery/Lottery analysis - Screenshot 0.png differ diff --git a/Math/Lottery/Lottery analysis - Screenshot 1.png b/Math/Lottery/Lottery analysis - Screenshot 1.png new file mode 100644 index 0000000..167ae21 Binary files /dev/null and b/Math/Lottery/Lottery analysis - Screenshot 1.png differ diff --git a/Math/Lottery/screenshot, 1.png b/Math/Lottery/screenshot, 1.png deleted file mode 100644 index 5595096..0000000 Binary files a/Math/Lottery/screenshot, 1.png and /dev/null differ diff --git a/Math/Lottery/screenshot, 2.png b/Math/Lottery/screenshot, 2.png deleted file mode 100644 index dcf804b..0000000 Binary files a/Math/Lottery/screenshot, 2.png and /dev/null differ diff --git a/Math/Lottery/screenshot, 3.png b/Math/Lottery/screenshot, 3.png deleted file mode 100644 index 24f796e..0000000 Binary files a/Math/Lottery/screenshot, 3.png and /dev/null differ diff --git a/Math/Plotting/3D graph - Screencast 0.mp4 b/Math/Plotting/3D graph - Screencast 0.mp4 new file mode 100644 index 0000000..1052527 Binary files /dev/null and b/Math/Plotting/3D graph - Screencast 0.mp4 differ diff --git a/Math/Plotting/3D graph - Screenshot 0.png b/Math/Plotting/3D graph - Screenshot 0.png new file mode 100644 index 0000000..0b96094 Binary files /dev/null and b/Math/Plotting/3D graph - Screenshot 0.png differ diff --git a/Math/Plotting/3D graph - Screenshot 1.png b/Math/Plotting/3D graph - Screenshot 1.png new file mode 100644 index 0000000..22225b1 Binary files /dev/null and b/Math/Plotting/3D graph - Screenshot 1.png differ diff --git a/Math/Plotting/3D graph - Screenshot 2.png b/Math/Plotting/3D graph - Screenshot 2.png new file mode 100644 index 0000000..9b0ca60 Binary files /dev/null and b/Math/Plotting/3D graph - Screenshot 2.png differ diff --git a/Math/Plotting/3D graph.bas b/Math/Plotting/3D graph.bas index 105d4a4..9b52fc5 100644 --- a/Math/Plotting/3D graph.bas +++ b/Math/Plotting/3D graph.bas @@ -268,6 +268,7 @@ END SUB SUB nait3d 1 +SOUND 0, .5 vertexCount = tmvertexCount lineCount = tmlineCount tm = tm + 1 @@ -424,4 +425,3 @@ z = z + (SQR((15 + v) * (15 - v)) - 10) ' top of the ball ' z = z + 3 * ((-INT((x - .3) / 20) * INT((23 + x - ABS(y * 1.2)) / 15)) + -INT(-y / 20) * -INT(-x / 20) * INT(-((x - 2) * (x - 2) + (y * 1.2 - 4) * (y * 1.2 - 4)) / 2000 + 1.01) + -INT(y / 20) * -INT(-x / 20) * INT(-((x - 2) * (x - 2) + (y * 1.2 + 4) * (y * 1.2 + 4)) / 2000 + 1.01)) ' heart END SUB - diff --git a/Math/Plotting/3D graph.png b/Math/Plotting/3D graph.png deleted file mode 100644 index a25dbb6..0000000 Binary files a/Math/Plotting/3D graph.png and /dev/null differ diff --git a/Math/Simulation/Interferogram - Screenshot 0.png b/Math/Simulation/Interferogram - Screenshot 0.png new file mode 100644 index 0000000..e049204 Binary files /dev/null and b/Math/Simulation/Interferogram - Screenshot 0.png differ diff --git a/Math/Simulation/Interferogram.png b/Math/Simulation/Interferogram.png deleted file mode 100644 index b433b07..0000000 Binary files a/Math/Simulation/Interferogram.png and /dev/null differ diff --git a/Math/Truth table/img/screenshot, 1.png b/Math/Truth table/img/screenshot, 1.png deleted file mode 100644 index b2a4218..0000000 Binary files a/Math/Truth table/img/screenshot, 1.png and /dev/null differ diff --git a/Math/Truth table/img/screenshot, 2.png b/Math/Truth table/img/screenshot, 2.png deleted file mode 100644 index e64bc42..0000000 Binary files a/Math/Truth table/img/screenshot, 2.png and /dev/null differ diff --git a/Math/Truth table/img/screenshot, 3.png b/Math/Truth table/img/screenshot, 3.png deleted file mode 100644 index c5b9612..0000000 Binary files a/Math/Truth table/img/screenshot, 3.png and /dev/null differ diff --git a/Math/Truth table/truth - Screenshot 2.png b/Math/Truth table/truth - Screenshot 2.png new file mode 100644 index 0000000..d926678 Binary files /dev/null and b/Math/Truth table/truth - Screenshot 2.png differ diff --git a/Math/Truth table/truth - Screenshot 3.png b/Math/Truth table/truth - Screenshot 3.png new file mode 100644 index 0000000..6c63c4f Binary files /dev/null and b/Math/Truth table/truth - Screenshot 3.png differ diff --git a/Miscellaneous/Mouse driver/mousedrv - Screenshot 0.png b/Miscellaneous/Mouse driver/mousedrv - Screenshot 0.png new file mode 100644 index 0000000..72b0127 Binary files /dev/null and b/Miscellaneous/Mouse driver/mousedrv - Screenshot 0.png differ diff --git a/Miscellaneous/Mouse driver/mousedrv.bas b/Miscellaneous/Mouse driver/mousedrv.bas index c0353da..3225731 100755 --- a/Miscellaneous/Mouse driver/mousedrv.bas +++ b/Miscellaneous/Mouse driver/mousedrv.bas @@ -69,10 +69,8 @@ SUB mousedemo putword 6, 0 ' Reset button status ' Print the button status if a button is pressed. - IF butt <> 0 THEN - LOCATE 5 - PRINT butt ' Print button status if pressed - END IF + LOCATE 5 + PRINT butt ' Print button status if pressed ' Limit the mouse movement to within maxmove. IF xp < -maxmove THEN xp = -maxmove @@ -131,4 +129,3 @@ SUB start SYSTEM ' Exit program if mouse driver is not loaded END IF END SUB -