Koch Fractals
Posted: Sun Nov 22, 2020 11:10 pm
Hi,
These unzipped programs will produce fractal snowflake outlines.
The original versions were iterative... ( with internal structures drawn too ).
Transformed to be recursive, these routines took far less code for the same job.
LRUN the koch3_bas file for 7 frame sizes, or click on the koch3.html one for a choice 5 imbricated (zoomable) flakes.
I could find no way of pausing recursive calls using JavaScript.... More research will be needed !
Best wishes,
Steve.
These unzipped programs will produce fractal snowflake outlines.
The original versions were iterative... ( with internal structures drawn too ).
Transformed to be recursive, these routines took far less code for the same job.
LRUN the koch3_bas file for 7 frame sizes, or click on the koch3.html one for a choice 5 imbricated (zoomable) flakes.
I could find no way of pausing recursive calls using JavaScript.... More research will be needed !
Best wishes,
Steve.