Sierpinski curve: Difference between revisions

C++/Java/Rust - added links to output images
m (Rust - use to_radians method)
(C++/Java/Rust - added links to output images)
Line 65:
return 0;
}</lang>
 
{{out}}
See: [https://slack-files.com/T0CNUL56D-F017EPDTKS4-6d6b01b464 sierpinski_curve.svg] (offsite SVG image)
 
=={{header|Go}}==
Line 282 ⟶ 285:
private static final int ANGLE = 45;
}</lang>
 
{{out}}
See: [https://slack-files.com/T0CNUL56D-F016J6Q8W78-4a6e0291c9 sierpinski_curve.svg] (offsite SVG image)
 
=={{header|Julia}}==
Line 683 ⟶ 689:
SierpinskiCurve::save("sierpinski_curve.svg", 545, 5).unwrap();
}</lang>
 
{{out}}
See: [https://slack-files.com/T0CNUL56D-F016A6G6Q5D-9e16463547 sierpinski_curve.svg] (offsite SVG image)
 
=={{header|Sidef}}==
1,777

edits