Sierpinski pentagon: Difference between revisions
m
Fix Perl 6 -> Raku links
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: Fix link: Perl 6 --> Raku) |
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku links) |
||
Line 233:
=={{header|D}}==
{{trans|
{{trans|Python}}
This solution combines the turtle graphics concept used in Python, with the SVG output format of the
This runs very quickly compared to the Python version.
Line 1,191:
=={{header|Sidef}}==
{{trans|
Generates a SVG image to STDOUT. Redirect to a file to capture and display it.
<lang ruby>define order = 5
Line 1,269:
=={{header|zkl}}==
{{trans|
<lang zkl>const order=5, sides=5, dim=250, scaleFactor=((3.0 - (5.0).pow(0.5))/2);
const tau=(0.0).pi*2; // 2*pi*r
|