From 408f9703c72ef0473cf0e681540a2cc8aefb2425 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 31 May 2025 00:02:18 +0300 Subject: [PATCH] Document some 3D animations --- .gitignore | 1 + 3D GFX/{tank on the bridge.bas => tank.bas} | 0 3D GFX/{tank on the bridge.webm => tank.webm} | Bin index.org | 128 ++++++++++++++++++ 4 files changed, 129 insertions(+) rename 3D GFX/{tank on the bridge.bas => tank.bas} (100%) rename 3D GFX/{tank on the bridge.webm => tank.webm} (100%) diff --git a/.gitignore b/.gitignore index dba9fbd..17a01d0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /Graphics/Spirals/index.html /Graphics/index.html /2D GFX/Animations/index.html +/3D GFX/3D Synthezier/index.html \ No newline at end of file diff --git a/3D GFX/tank on the bridge.bas b/3D GFX/tank.bas similarity index 100% rename from 3D GFX/tank on the bridge.bas rename to 3D GFX/tank.bas diff --git a/3D GFX/tank on the bridge.webm b/3D GFX/tank.webm similarity index 100% rename from 3D GFX/tank on the bridge.webm rename to 3D GFX/tank.webm diff --git a/index.org b/index.org index e77f547..781692c 100644 --- a/index.org +++ b/index.org @@ -190,6 +190,134 @@ surface placed in 3D world. [[file:3D%20GFX/3D%20life.bas][Source code]] +*3D text in a room* + +Wireframe 3D text hanging in a wireframe 3D room. User can look and +fly around in all directions. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/3D%20text.bas][Source code]] + +*3D bouncing cubes on grid floor* + +3D wireframe cubes bouncing on a grid floor, creating an immersive and +dynamic visual effect. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/bouncing%20cubes.bas][Source code]] + +*Attracted particles* + +3D simulation of particles attracted to each other. When particles get +too close, stronger repulsive force takes over. There is also +friction. Eventually after some bouncing, particles settle in +equilibrium state. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/gravity%20particles.bas][Source code]] + +*Matrix math for rotation in 3D space* + +Instead of combining simple 2D rotors, pixels in this 3D space are +rotated by using matrix multiplications. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/matrix%20math.bas][Source code]] + + +*Rocket simulator* + +Attempt to simulate rocket taking off from the surface of the earth +and flying into space. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/rocket%20simulator.bas][Source code]] + +*Screensaver to display animation of flying through the star field* + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/stars.bas][Source code]] + +*Tank animation* + +Animated tank driving through the bridge back and forward. User can +look and fly around in all directions. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/tank.bas][Source code]] + +*tiled room* + +Room with some tiles on the wall and on the floor. User can freely fly +around. + +#+begin_export html +
+ +
+#+end_export + +[[file:3D%20GFX/tiled%20room.bas][Source code]] + * Misc :PROPERTIES: -- 2.20.1