Monday, January 22, 2024

๐Ÿ–ฅ FOR-NEXT: Random STEP values

Inspired by Richard Russell's post (and the related discussion) about BASIC dialects' ability to change the TO and the STEP values within FOR-NEXT blocks, I wrote this little program to demonstrate a trivial use case for random STEP values.

(See Richard Russell's post in the BASIC Programming Language group on Facebook.)




Saturday, January 13, 2024

๐Ÿ–ฅ Vince mod 43

 A QB64 program by vince, which I've ported to BAM and modified just a little.

To better understand what the code is doing, I modified the color of the LINE statements, and I also commented out one of the LINE statements that makes it hard to see what the other LINE statements are doing.



Friday, January 5, 2024

๐Ÿ–ฅ Thick Line Color Rotation

"Thin" lines in the ๐Ÿ–ฅ Line Color Rotation program results in "interference patterns", which are interesting because they give a sensation of texture.

This "thicker" lines version of the program largely eliminates interference patterns.



Thursday, January 4, 2024

๐Ÿ–ฅ Line Color Rotation

  • Lines running from the center of the screen to the edges of the screen.
  • A number of random colors stored in an array matching the number of lines.
  • In a cycle, all lines are drawn with the colors from the array.
  • Before doing another cycle the colors in the array are shifted to the right.
  • In the next cycle of drawing the same lines, the shifting of colours will make it look like the lines are animated in a clockwise motion.



๐Ÿ–ฅ Guillermo's Graph (Apple II BASIC to BAM port)

This program is a port (and very slight mod) of an Apple II program, shared by Guillermo Ibรกรฑez with the "BASIC Programming Language...