QB64 Phoenix Edition
Trying out some old programs from QB45.org - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: QBJS, BAM, and Other BASICs (https://qb64phoenix.com/forum/forumdisplay.php?fid=50)
+--- Thread: Trying out some old programs from QB45.org (/showthread.php?tid=1398)

Pages: 1 2


Trying out some old programs from QB45.org - CharlieJV - 01-14-2023

These are programs from the (previously) "QB45.org" site that I find particularly interesting.  In the BAM version of the source code, you'll find the details of the original source code that you can grab for QB64pe. 

From "Graphics Demos" file category:

(More to come from the qb45.org site.)


RE: Trying out some old programs from QB45.org - CharlieJV - 01-14-2023

I just published "Chrome Rotating Disc", which increments the starting angle in each loop.

This eliminates the line we see in "Blue Rotating Disc" where the drawing angle ends at the same spot in each loop.

Compare the difference between the two programs by scrolling the web pages down to see the source code.


RE: Trying out some old programs from QB45.org - CharlieJV - 01-15-2023

Added "Rotating Parallel Planes".

It is a mod of a rotating square created with points at every x,y,z.  I found the square too hard to see from all the points, so  I changed it to have just three "slices" of points on the two outer points on the x axis and the mid points on the x axis.

And I gave the three slices (or panes) different colours to distinguish them.


RE: Trying out some old programs from QB45.org - bplus - 01-15-2023

(01-15-2023, 05:51 AM)CharlieJV Wrote: Added "Rotating Parallel Planes".

It is a mod of a rotating square created with points at every x,y,z.  I found the square too hard to see from all the points, so  I changed it to have just three "slices" of points on the two outer points on the x axis and the mid points on the x axis.

And I gave the three slices (or panes) different colours to distinguish them.

Looks like you are a step away from a rotating cube. In some ways this might be harder, maybe a Rotating Sierpinski sponge?
https://en.wikipedia.org/wiki/Menger_sponge


RE: Trying out some old programs from QB45.org - CharlieJV - 01-15-2023

(01-15-2023, 05:47 PM)bplus Wrote:
(01-15-2023, 05:51 AM)CharlieJV Wrote: Added "Rotating Parallel Planes".

It is a mod of a rotating square created with points at every x,y,z.  I found the square too hard to see from all the points, so  I changed it to have just three "slices" of points on the two outer points on the x axis and the mid points on the x axis.

And I gave the three slices (or panes) different colours to distinguish them.

Looks like you are a step away from a rotating cube. In some ways this might be harder, maybe a Rotating Sierpinski sponge?
https://en.wikipedia.org/wiki/Menger_sponge

The original code was a cube, but without the lines.  Rather a bunch of spaced out dots on the x, y, and z axes.  So many dots that it made it hard to see the cube.

A cube would be easy.  Just skip all of the dots instead of except the ones in the corners, then draw the lines between the corners.

The menger sponge, that would be a major jump for my abilities.

Right now, I'm kind of thinking a mod that rotates the planes via mouse position or clicks.  Baby steps ...


RE: Trying out some old programs from QB45.org - CharlieJV - 01-21-2023

(01-14-2023, 04:09 AM)CharlieJV Wrote: From "Graphics Demos" file category:


(More to come from the qb45.org site.)

Added "Funky Green Light Halos", part of testing PALETTE, _RGB2BGR, and 256 color attributes for Screen mode 13 seeded with EGA 64.


RE: Trying out some old programs from QB45.org - bplus - 01-21-2023

Wow! I like Spiral and Vortex, Floor map pretty good too. So little code Smile


RE: Trying out some old programs from QB45.org - CharlieJV - 01-21-2023

(01-21-2023, 04:05 AM)bplus Wrote: Wow! I like Spiral and Vortex, Floor map pretty good too. So little code Smile

Yeah, right?  I'm getting a kick going through all of these short programs in "9liners.zip" ( https://qb45.org/download.php?id=1076 ) and tweaking the ones I really like (first trying them in QB64) to get them working in BAM.


RE: Trying out some old programs from QB45.org - CharlieJV - 01-21-2023

Added to the list in the OP:
  • The Waves
  • The Lens
  • Screen Painter
  • Line Circle Thing
  • Gobs of Dripping Paint
  • Lightmapping (I find this one particularly cool)



RE: Trying out some old programs from QB45.org - CharlieJV - 01-23-2023

Added: