This program is a port and mod by Charlie Veniot of a QB64 program by Luis Alberto Migliorero (https://www.facebook.com/share/p/SopXe3tgxxsWgkHR/).
That QB64 program is a port of a C64 (CBM BASIC v2) program by Alvaro Alonso G. (https://www.facebook.com/share/p/KsTAzh7ee41PnVQN/).
Because I like to sit back and let myself be entranced by animation (putting the graphic program in an endless loop with changing colours), I've modded the program as per that little joy o' mine.
The program pauses for a second after drawing the center-most part of the lotus. You can click/touch the screen at this time to pause the program until you release the click/touch.
The BAM program: