Sierpinski pentagon: Difference between revisions

Prolog/Rust - added links to output images
(Prolog/Rust - added links to output images)
Line 1,117:
sierpinski_pentagon(Stream, X1, Y1, Scale_factor, Side, N),
sierpinski_pentagons(Stream, X1, Y1, Scale_factor, Side, Angle1, N, I1).</lang>
 
{{out}}
See: [https://slack-files.com/T0CNUL56D-F017EQ2D1K2-f0b29621ab sierpinski_pentagon.svg] (offsite SVG image)
 
=={{header|Python}}==
Line 1,448 ⟶ 1,451:
write_sierpinski_pentagon("sierpinski_pentagon.svg", 600, 5).unwrap();
}</lang>
 
{{out}}
See: [https://slack-files.com/T0CNUL56D-F016A745N87-f57f7e3b2a sierpinski_pentagon.svg] (offsite SVG image)
 
=={{header|Scala}}==
1,777

edits