From: Svjatoslav Agejenko Date: Mon, 28 Jul 2025 21:23:14 +0000 (+0300) Subject: Improve application listing on the web X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=4b0fdfcdfe6260d6d26dcc2f5847574e3e2edbf8;p=qbasicapps.git Improve application listing on the web --- diff --git a/2D GFX/Animations/index.org b/2D GFX/Animations/index.org index 867f7ae..91b4aa1 100644 --- a/2D GFX/Animations/index.org +++ b/2D GFX/Animations/index.org @@ -29,8 +29,12 @@ * Bump mapping -Light source moves around. Based on light source location, different -parts of the surface become illuminated. +This QBasic program demonstrates a classic bump mapping technique, +creating an animation where a light source moves around a textured +surface. The program visually simulates how different parts of the +surface become illuminated based on the light source's position. This +effect is commonly used in computer graphics to add depth and realism +to surfaces without increasing geometric complexity. #+begin_export html
@@ -41,11 +45,30 @@ parts of the surface become illuminated.
#+end_export +How It Works: + +1. *Surface Generation* : The program starts by generating a height + map for the surface using random dots and lines. This height map + defines the texture and contours of the surface. +2. *Light Animation* : A light source is animated to move around the + surface using sine functions, creating a smooth, circular motion. +3. *Brightness Calculation* : For each pixel on the surface, the + program calculates the brightness based on the distance and angle + from the light source. This involves determining the surface + inclination relative to the light position. +4. *Rendering* : The surface is rendered with varying brightness + levels to simulate the effect of the moving light source. The light + source itself is drawn as a small circle that moves across the + surface. + [[file:Bump mapping.bas][Source code]] * Tree -Tree grows and branches out. +This QBasic program renders a fractal tree that starts with a single +root and branches out into a complex pattern. The program is an +artistic representation of how simple rules can generate intricate and +beautiful structures, reminiscent of natural tree growth patterns. #+begin_export html
@@ -62,7 +85,11 @@ Tree grows and branches out. * Rotation in 2D space using trigonometry functions -Grid of dots is rotated on the screen. +This QBasic program demonstrates the rotation of points in a 2D +coordinate system using trigonometric functions. It simulates the +rotation of a grid of points around the origin, providing a visual +representation of how sine and cosine functions can be used to achieve +2D rotation. #+begin_export html
@@ -79,8 +106,10 @@ Grid of dots is rotated on the screen. * Various text mode animation effects -Program demonstrates various animation effects that can be -accomplished using text-mode rendering. +This QBasic program creates visually appealing text mode animations by +overlaying various graphical effects while scrolling its own source +code in the background. It is an example of how to manipulate text and +colors to create dynamic visual effects in a console environment. #+begin_export html
@@ -95,9 +124,13 @@ accomplished using text-mode rendering. * Snowfall -Program simulates falling of snow particles. Particles fall towards -the ground because of the gravity. Once particle falls on the surface, -it tries to skid around a bit, bit ultimately freezes in-place. +This QBasic program simulates a simple snowfall effect on the +screen. It creates a visually appealing animation where particles +(representing snowflakes) fall from the top of the screen to the +bottom, interacting with obstacles and each other. The program is a +example of basic animation and collision detection techniques, which +can be educational for those interested in learning about simple +physics simulations and graphical programming. #+begin_export html
@@ -108,14 +141,34 @@ it tries to skid around a bit, bit ultimately freezes in-place.
#+end_export + +What's in it for the Reader? + +- Learning Basic Animation :: This program provides a straightforward + example of how to animate objects on the screen, which can be a + foundational concept for game development and graphical + applications. +- Collision Detection :: The code includes basic collision detection + logic, which is essential for interactive applications and games. +- Randomization :: The use of randomness in particle movement and + positioning can teach how unpredictability can be introduced into + simulations. +- Graphics Handling :: The program demonstrates how to manipulate + screen pixels and draw shapes, which is useful for understanding + low-level graphics programming. + [[file:Snowfall.bas][Source code]] #+INCLUDE: "Snowfall.bas" src basic-qb45 * Screensaver -Application of trigonometry functions is explored here to calculate -line coordinates. +The "Mystery Screensaver" is a visually captivating animation program +written in QBasic. It creates an intriguing screensaver effect with +dynamic, flowing lines that continuously change patterns, providing a +mesmerizing visual experience. This program is an example of how +simple mathematical functions can be used to create complex and +engaging visual effects. #+begin_export html
@@ -132,7 +185,11 @@ line coordinates. * Screensaver - flying hand fans -Quick implementation for colorful flying hand fans. +This QBasic program is a visually engaging screensaver that creates an +animated display of colorful lines and patterns. The program is +designed to produce a dynamic and continuously evolving visual +experience, reminiscent of classic screensavers from the early days of +personal computing. #+begin_export html
@@ -149,8 +206,10 @@ Quick implementation for colorful flying hand fans. * Polygon rendering -Algorithm to demonstrate rendering or polygons across arbitrary -coordinates. +This QBasic program generates and renders random polygons on the +screen, each filled with a random color. It's a simple yet effective +demonstration of basic computer graphics principles, particularly in +rendering geometric shapes and handling randomness. #+begin_export html
@@ -167,8 +226,10 @@ coordinates. * Textured polygon rendering -Algorithm to demonstrate rendering or textured polygons across -arbitrary coordinates. +The program provides a practical example of texture mapping, a +fundamental concept in computer graphics. Readers can learn how +textures are applied to polygons. + #+begin_export html
@@ -205,8 +266,10 @@ important for cohesion of the whole. * Orbiting particles -Trivial to implement but interesting looking effect. Various particles -are orbiting central point. Each particle is connected to the center. +This QBasic program creates a visually engaging animation of particles +orbiting around a central point. The particles are rendered as colored +circles, each moving in a unique orbit, creating a dynamic and +mesmerizing effect. #+begin_export html
diff --git a/2D GFX/Fractals/index.html b/2D GFX/Fractals/index.html index 96269ef..19596d9 100644 --- a/2D GFX/Fractals/index.html +++ b/2D GFX/Fractals/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Fractals @@ -210,11 +210,11 @@

Table of Contents

@@ -236,11 +236,11 @@ -
-

1. Fractal circles

+
+

1. Fractal circles

-
+

fractal%20circles.png

@@ -251,8 +251,8 @@
-
-

2. Fractal circles animated

+
+

2. Fractal circles animated

-
-

3. Fractal of squares

+
+

3. Fractal of squares

-
+

fractal%20squares,%201.png

-
+

fractal%20squares,%202.png

-
-

4. Fractal of squares animated

+
+

4. Fractal of squares animated

-
-

5. Fractal of trees

+
+

5. Fractal of trees

-

Created: 2025-07-28 ma 03:32

+

Created: 2025-07-28 ma 18:31

Validate

diff --git a/2D GFX/Fractals/index.org b/2D GFX/Fractals/index.org index 0480898..d7b36ff 100644 --- a/2D GFX/Fractals/index.org +++ b/2D GFX/Fractals/index.org @@ -29,13 +29,29 @@ * Fractal circles +This QBasic program generates a visually captivating spiral fractal +composed of circles. It employs a recursive algorithm to create +intricate patterns that can inspire those interested in fractal +geometry, recursive programming, and graphical design. + #+attr_html: :class responsive-img #+attr_latex: :width 1000px [[file:fractal circles.bas][file:fractal%20circles.png]] +- Color and Depth :: The color of each circle alternates based on the + recursion depth, adding visual complexity to the fractal. +- Termination Condition :: The recursion terminates when the size of + the circles becomes too small, ensuring the program doesn't run + indefinitely. + [[file:fractal circles.bas][Source code]] * Fractal circles animated + +This QBasic program creates an animated fractal composed of circles, +demonstrating an engaging visual effect. The program uses a timer +system to control the animation's progression. + #+begin_export html
@@ -236,11 +236,11 @@ } -
-

1. Spiral with increasing density

+
+

1. Spiral with increasing density

-
+

spiral.png

@@ -320,11 +320,11 @@ userInput$ = INPUT$(1)
-
-

2. Spiral with varying height

+
+

2. Spiral with varying height

-
+

spiral, 2.png

@@ -391,11 +391,11 @@ a$ = INPUT$(1)
-
-

3. Shaded spiral

+
+

3. Shaded spiral

-
+

spiral, 3.png

@@ -497,8 +497,8 @@ a$ = INPUT$(1)
-
-

4. Sphere forming spiral

+
+

4. Sphere forming spiral

Similar to previous spiral, Line segments are connected between the @@ -507,7 +507,7 @@ multiple linked spherical shapes. Initially point cloud in shown:

-
+

spiral, 4, 1.png

@@ -517,7 +517,7 @@ In the next step, points are connected using lines:

-
+

spiral, 4, 2.png

@@ -622,11 +622,11 @@ a$ = INPUT$(1)
-
-

5. Textured spherical spiral

+
+

5. Textured spherical spiral

-
+

spiral, 5.png

@@ -749,11 +749,11 @@ a$ = INPUT$(1)
-
-

6. Textured and shaded spherical spiral

+
+

6. Textured and shaded spherical spiral

-
+

spiral, 6.png

@@ -937,7 +937,7 @@ yStep2 = (oppositePointY2 - oppositePointY1) / stepCount
-

Created: 2025-07-28 ma 03:32

+

Created: 2025-07-28 ma 18:31

Validate

diff --git a/2D GFX/Textures/index.html b/2D GFX/Textures/index.html index dc6dbcc..9ed4720 100644 --- a/2D GFX/Textures/index.html +++ b/2D GFX/Textures/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Fractals @@ -210,11 +210,11 @@

Table of Contents

@@ -233,8 +233,8 @@ } -
-

1. Circular waves

+
+

1. Circular waves

Circular waves.png @@ -283,8 +283,8 @@

-
-

2. Diamond square clouds

+
+

2. Diamond square clouds

Diamond square clouds.png @@ -392,8 +392,8 @@ WAITa$ = INPUT$(1)

-
-

3. Old paper

+
+

3. Old paper

Old paper.png @@ -470,8 +470,8 @@ inputKey$ = INPUT$(1)

-
-

4. Wood

+
+

4. Wood

Wood.png @@ -559,8 +559,8 @@ exitKey$ = INPUT$(1)

-
-

5. Yellow flame

+
+

5. Yellow flame

Yellow flame.png @@ -620,7 +620,7 @@ userInput$ = INPUT$(1)

-

Created: 2025-07-28 ma 03:32

+

Created: 2025-07-28 ma 18:32

Validate

diff --git a/3D GFX/3D Synthezier/doc/index.html b/3D GFX/3D Synthezier/doc/index.html index 8066d7a..2fac5ab 100644 --- a/3D GFX/3D Synthezier/doc/index.html +++ b/3D GFX/3D Synthezier/doc/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + 3D Synthezier @@ -1103,39 +1103,39 @@ hsAddReviewPanels();

Table of Contents

@@ -1157,8 +1157,8 @@ hsAddReviewPanels(); -
-

1. Operating principle

+
+

1. Operating principle

Parses scene definition language and creates 3D world based on @@ -1221,60 +1221,60 @@ They were produced by importing generated -

1.1. Rectangular city

+
+

1.1. Rectangular city

-
+

rectangular city, 1.jpeg

-
+

rectangular city, 2.jpeg

-
+

rectangular city, 3.jpeg

-
-

1.2. Hexagonal city

+
+

1.2. Hexagonal city

-
+

hexagonal city, 1.jpeg

-
+

hexagonal city, 2.jpeg

-
+

hexagonal city, 3.jpeg

-
-

2. Scene description language

+
+

2. Scene description language

See also examples.

-
-

2.1. here

+
+

2.1. here

 here
@@ -1285,8 +1285,8 @@ defines new segment
 

-
-

2.2. p

+
+

2.2. p

 p  x y z
@@ -1297,8 +1297,8 @@ defines new point
 

-
-

2.3. f

+
+

2.3. f

 f  p1 p2 p3 p4
@@ -1309,8 +1309,8 @@ defines new polygon,  p4  may be unused
 

-
-

2.4. warn

+
+

2.4. warn

 warn  <message>
@@ -1321,8 +1321,8 @@ displays warning message, and wait for key
 

-
-

2.5. end

+
+

2.5. end

 end
@@ -1333,8 +1333,8 @@ terminates parser
 

-
-

2.6. mtl

+
+

2.6. mtl

 mtl  material
@@ -1345,8 +1345,8 @@ selects material
 

-
-

2.7. mtlrnd

+
+

2.7. mtlrnd

 mtlrnd  material ...
@@ -1357,8 +1357,8 @@ selects random material from list
 

-
-

2.8. obj

+
+

2.8. obj

 obj  object xz45 xy20 x+3 y*2
@@ -1373,14 +1373,14 @@ directly from file, and not chached, to allow loading of greater than
 

-
+

rotation.png

-
-

2.9. rnd

+
+

2.9. rnd

 rnd  p^1^2^3 p^7^2^1
@@ -1391,8 +1391,8 @@ select random command to execute, ^ will be converted to spaces.
 

-
-

2.10. #

+
+

2.10. #

 # whatever text
@@ -1403,8 +1403,8 @@ comment
 

-
-

2.11. out

+
+

2.11. out

 out  file
@@ -1415,8 +1415,8 @@ specify output file name, must be first command
 

-
-

2.12. set

+
+

2.12. set

 set  variable  contents
@@ -1428,8 +1428,8 @@ string. max variables is 100. first is 0.
 

-
-

2.13. variables usage

+
+

2.13. variables usage

 anycommand %1 anything
@@ -1440,8 +1440,8 @@ inserts variable 1 contents info line
 

-
-

2.14. cmp

+
+

2.14. cmp

 cmp  flag string1 string2
@@ -1452,8 +1452,8 @@ compares strings, and inserts TRUE to flag, if they are equal, else inserts FALS
 

-
-

2.15. ?

+
+

2.15. ?

 ?flag anycommand
@@ -1468,8 +1468,8 @@ exapmle: ?3 obj car z*2 xy45
 

-
-

2.16. dum

+
+

2.16. dum

 dum
@@ -1482,16 +1482,16 @@ dummy function, does notheing
 
-
-

3. Installation

+
+

3. Installation

Edit bin/3dparse.bas file and update include path in there.

-
-

3.1. System requirements

+
+

3.1. System requirements

@@ -1522,8 +1522,8 @@ Edit bin/3dparse.bas file and update include path in there. -
-

3.2. Directory layout

+
+

3.2. Directory layout

bin
@@ -1540,8 +1540,8 @@ Edit bin/3dparse.bas file and update include path in there.
-
-

4. Usage

+
+

4. Usage

Make sure you have QB binaries in your PATH. Execute @@ -1566,7 +1566,7 @@ Visualize scene with your favourite renderer.

-

Created: 2025-07-28 ma 03:33

+

Created: 2025-07-28 ma 18:33

Validate

diff --git a/3D GFX/Miscellaneous/index.html b/3D GFX/Miscellaneous/index.html index ea5b4f2..8148ab3 100644 --- a/3D GFX/Miscellaneous/index.html +++ b/3D GFX/Miscellaneous/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Miscellaneous 3D graphics demos @@ -210,14 +210,14 @@

Table of Contents

@@ -238,8 +238,8 @@ } -
-

1. Rotating exclamation mark

+
+

1. Rotating exclamation mark

Wireframe 3D model of a rotating exclamation mark. @@ -259,8 +259,8 @@ Wireframe 3D model of a rotating exclamation mark.

-
-

2. 3D bouncing ball

+
+

2. 3D bouncing ball

3D ball made of point cloud. @@ -280,8 +280,8 @@ Wireframe 3D model of a rotating exclamation mark.

-
-

3. 3D text in a room

+
+

3. 3D text in a room

Wireframe 3D text hanging in a wireframe 3D room. User can look and @@ -302,8 +302,8 @@ fly around in all directions.

-
-

4. 3D bouncing cubes on grid floor

+
+

4. 3D bouncing cubes on grid floor

3D wireframe cubes bouncing on a grid floor, creating an immersive and @@ -324,8 +324,8 @@ dynamic visual effect.

-
-

5. Matrix math for rotation in 3D space

+
+

5. Matrix math for rotation in 3D space

Instead of combining simple 2D rotors, pixels in this 3D space are @@ -346,15 +346,15 @@ rotated by using matrix multiplications.

-
-

6. Maze explorer

+
+

6. Maze explorer

TODO: add description

-
+

Maze%20explorer.png

@@ -365,8 +365,8 @@ TODO: add description
-
-

7. Tank animation

+
+

7. Tank animation

Animated tank driving through the bridge back and forward. User can @@ -387,8 +387,8 @@ look and fly around in all directions.

-
-

8. Tiled room

+
+

8. Tiled room

Room with some tiles on the wall and on the floor. User can freely fly @@ -409,7 +409,7 @@ around.

-

Created: 2025-07-28 ma 03:33

+

Created: 2025-07-28 ma 18:33

Validate

diff --git a/3D GFX/Space/index.html b/3D GFX/Space/index.html index d6e9b43..6f03a32 100644 --- a/3D GFX/Space/index.html +++ b/3D GFX/Space/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Space themed 3D graphics @@ -210,10 +210,10 @@

Table of Contents

@@ -234,15 +234,15 @@ } -
-

1. Galaxy explorer

+
+

1. Galaxy explorer

TODO: add description

-
+

Galaxy%20explorer.png

@@ -254,8 +254,8 @@ TODO: add description
-
-

2. Rocket simulator

+
+

2. Rocket simulator

TODO: add description @@ -275,8 +275,8 @@ TODO: add description

-
-

3. Stars

+
+

3. Stars

TODO: add description @@ -295,27 +295,27 @@ TODO: add description

-
-

4. Universe explorer

+
+

4. Universe explorer

TODO: add description

-
+

1.png

-
+

2.png

-
+

3.png

@@ -327,7 +327,7 @@ TODO: add description
-

Created: 2025-07-28 ma 03:33

+

Created: 2025-07-28 ma 18:33

Validate

diff --git a/index.org b/index.org index f4b82f2..23d6d7d 100644 --- a/index.org +++ b/index.org @@ -391,7 +391,6 @@ TODO: add description [[file:Math/Lottery/Lottery%20analysis.bas][Source code]] - * Misc :PROPERTIES: :ID: 3587240c-1d50-478d-b850-04ebc8dc63c7 @@ -421,7 +420,6 @@ TODO: add description #+attr_latex: :width 1000px [[file:Miscellaneous/Custom%20palette.bas][file:Miscellaneous/Custom%20palette,%203.png]] - * Download ** Getting the source code