Tuesday, January 7, 2025

🖥 DRAW to generate the points for regular polygons

Drawing regular polygons is pretty easy when using DRAW to generate the points of the polygon, using specified coordinates for the center of the polygon and using a specified number of points for the polygon.

This program also demonstrates simple animation by rotating the polygon around the center, and loops endlessly (in increments of 1) from 3-point to 15-point polygons, increasing the number of points every loop of 360 degrees.



Saturday, January 4, 2025

🖥 Bubbly Wonderment

This program is a port and mod of a "simple 3d sphere" QBJS program by issues37.

On older computers, this program might be a little bit demanding because it is drawing 4,000 circles.



🖥 Wispy Murmurations

This program is a "port" (not much effort: only one line replaced) of a really nice QBJS program by "issues37".

(BTW: my host, Neocities, is having some intermittent performance issues today.)



Friday, January 3, 2025

⚗ Experiment in the Works: Editor toolbar buttons for inserting "whatever" into a program

Try this in the "development version" of BASIC Anywhere Machine.

I have started experimenting (toying around with the idea?) of editor toolbar buttons to quickly add snippets of code (among other things) to a program in the midst of being created / edited.

I've added a "FOR-NEXT block" button just above the editor, which allows wrapping any number of selected lines (or just the current line if none are selected) with the start and end lines of a FOR-NEXT block.

On a line of code, just before pressing the button

The result after pressing the button







Friday, December 27, 2024

📣 BAM for Education

This is a draft post that I've chosen to publish for feedback.  Do expect this post to change over the next few weeks as I make enhancements/adjustments to it.

One of my objectives for BAM: make it a good platform for teaching how to program.

I'm thinking for anybody between late junior high school to first year college/university.

To me, BASIC has always been the best place to learn about the fundamental programming constructs, concepts, and/or elements of computer programming.  However, no BASIC has ever had everything I viewed as necessary for beginner programming.

Learning how to program, to think like a programmer, requires a focus on the fundamentals.  This does require the elimination of distractions, with features such as:
  • ability to access the programming language and programming projects from any device and from anywhere:
    • operating system agnostic
    • device agnostic
    • stored on the web or portable storage device (USB thumb drive, SD card, etc.)
  • no software install and no software admin
  • easily share/publish programs without any special requirements needed by the intended audience
  • no extraneous steps to write a program (like inclusion of external libraries)
  • no GUI/forms designers
  • no event-driven programming
  • no object-oriented programming
  • no file I/O or database access
  • no consideration at all for anything related to in-demand market-influenced technical skills




Wednesday, December 25, 2024

🖥 Saucer Zap

This program is a port and mod of a QBJS program by James D Jarvis (shared with the QB64PE community and discussed in this thread).

That program by James includes code from the "Plasma Laser Canon Pointer" QBJS program by bplus shared with the QB64PE community in this post.

Although it did not take much effort to get the program ported, I reorganized/refactored the code to help me better see/understand it before making a few mods to alter the behaviour of the game.

The BAM port and mod:

Tuesday, December 10, 2024

🖥 Fan Dance

This is a port and mod of a SpecBAS program by ZXDunny.

And, a "less is more?" version:
And, a jazzed-up version (more randomized parameters each program restart):
The first version

The "less is more?" version

The "jazzed-up" version










🖥 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 ...