Hi Niche,
Thank you for replying to my plea for help.
I attatch the complete file which will run on a PC under Firefox, but unfortunately not Chrome.
The program was originally written in BASIC. The guts of it are in the core() function, called on line 93.
I would hope to be able to implement a short pause of graphics drawing on lines 94 and 121.
on lines 97-100, the alert() needs to be got rid of, as on my smartphone the popup hides the graphics....
M waits() function does pause the program, but I can find no way to pause the graphics, other than by using alert() or prompt() !
There must surely be a simple JavaScript function to pause graphics drawing ?
Hope you can help, as many BASIC programs depend on graphics pauses....
(This one is just a simple program to get me started on JavaScript).
epicycle2.html