Sierpinski arrowhead curve: Difference between revisions
Content added Content deleted
(Added Fōrmulæ entry) |
m (→{{header|ALGOL 68}}: comments) |
||
Line 125: | Line 125: | ||
Generates an SVG file containing the curve using the L-System. Very similar to the Algol 68 Sierpinski square curve sample. Note the Algol 68 L-System library source code is on a separate page on Rosetta Code - follow the above link and then to the Talk page. |
Generates an SVG file containing the curve using the L-System. Very similar to the Algol 68 Sierpinski square curve sample. Note the Algol 68 L-System library source code is on a separate page on Rosetta Code - follow the above link and then to the Talk page. |
||
<syntaxhighlight lang="algol68"> |
<syntaxhighlight lang="algol68"> |
||
BEGIN # Sierpinski Arrowhead Curve in SVG |
BEGIN # Sierpinski Arrowhead Curve in SVG # |
||
# curve Algol 68 & FreeBASIC samples # |
|||
# uses the RC Algol 68 L-System library for the L-System evaluation & # |
# uses the RC Algol 68 L-System library for the L-System evaluation & # |
||
# interpretation # |
# interpretation # |