Saturday, February 10, 2024

🖥 Color-Changing Xmas Tree

This BAM port and mod based a one-liner Applesoft program by Ed Solie.

I've:

  • increased the size of the image and changed the dimensions of the canvas
  • animated the drawing process
  • setup the drawing process to use a random color for every drawing iteration
  • setup the first iteration to draw the whole "tree"
  • setup all subsequent iterations to draw a new random color from a random starting point to a random end point
  • setup the star to redraw on every iteration with the new random color

No comments:

Post a Comment

📚 About Variable Scoping in BAM

Variable Scoping describes where a variable is accessible, or available, within a program. A BASIC Anywhere Machine program may declare (exp...