This gosper curve script uses OrientLineToLine, rather than turtle graphics or L-Systems.
One gosper curve polyline is created, for the current Level.
The maximum level is 5, which takes about 2 seconds. Modifying the code would permit level 6, which takes about 12 seconds.
Level 7, which consists of 823543 line segments, failed to process. Maybe MoI version 4 would process it?
After the script is done, the polyline can be converted to a control point curve, with the script _PolyCurveToCurveBeta.
The script demonstrates scripting.
Documentation may be re-written.
- Brian
|