Sunday, May 26, 2024

🖥 Twisted Squircle

I wrote this program to test a change to the TA command in BAM's DRAW statement:

When I originally added the TA command in BAM, I had set it up so that the drawing angle was reset to zero before every DRAW command.  Every TA angle was local to the DRAW statement using TA.

That did not match GW-BASIC's TA behaviour.

In GW-BASIC, a new value for TA is retained (globally), such that when an angle is specified with a TA command in a draw statement, that angle will apply to every subsequent DRAW statement until some later DRAW statement specified a new angle via TA.

In the current development version of BAM (and in future production versions), BAM's TA command in the DRAW statement will behave as described above for GW-BASIC.

BTW, this program currently only works in the development version of BAM.  Not just for the TA behaviour described above, but also because of the following enhancement to TA still only found in the development version of BAM: TA allows floating point numbers as well as integers.






















 

No comments:

Post a Comment

🖥A "10PRINT" Variant, BAMified

This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video. New colours are randomly proje...