Friday, February 9, 2024

🖥 String Art In A Rectangle

This BAM program is a port and mod of a BBC Micro program by Stephen Fewell.

Stephen Fewell's program is a port and mod of an Applesoft program by Ed Solie.



Monday, February 5, 2024

🖥 Fedora Hat Mod

I felt like playing around a bit with the Fedora Hat program, modded to repeatedly redraw the fedora hat in an infinite loop, alternating between two step values every loop (so often winding up with four colours in the fedora hat.

This mod started out with the thought: "why draw the fedora hat and then end the program?  why not keep it going?"  (Well, I was also annoyed by the length of the animation delay I had put into the original.)



🎉 New version of BASIC Anywhere Machine

Summary of updates

  • BASIC Language Updates
    • FOR-NEXT: Handling zero STEP values
    • LET: Bug fix
    • Line Numbers: Handling leading zeroes
    • New EVAL Clause for GOTO, GOSUB, RESTORE
      • GOTO syntax diagram
      • GOSUB syntax diagram
      • RESTORE syntax diagram

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.



🖥 Ardi's Graph

A port and mod of a program shared by Ardi Ardi with the "BASIC Programming Language" Facebook group via this post . This program ...