Sierpinski pentagon: Difference between revisions

m
Fix Perl 6 -> Raku links
m (→‎{{header|Perl}}: Fix link: Perl 6 --> Raku)
m (Fix Perl 6 -> Raku links)
Line 233:
 
=={{header|D}}==
{{trans|Perl 6Raku}}
{{trans|Python}}
This solution combines the turtle graphics concept used in Python, with the SVG output format of the Perl 6Raku solution.
This runs very quickly compared to the Python version.
 
Line 1,191:
 
=={{header|Sidef}}==
{{trans|Perl 6Raku}}
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|Perl 6Raku}}
<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
10,327

edits