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