Wednesday, March 27, 2024

🖥 Flower of life triangular-arccircle

This program draws a "Flower of life triangular arc circle".  For a good read, visit this Wikipedia article.

To make the program more interesting (and to see what the code is doing), I've animated the drawing of the geometric shape.  When done and after a pause of about three seconds, the program clears the screen and starts drawing again (in an infinite loop)

At the start of every iteration, three new random colours are chosen.  Again, to make things visually interesting.

During the three second program pause, you can click/touch the screen to pause the program until you release the click/touch.

Please note: this program was created with the development version of BASIC Anywhere Machine (to test the recently added fractional angle values for the DRAW statements TA command.)




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