Skip to content

Generate a Sierpinski triangle using rust and output to a PNG file

Notifications You must be signed in to change notification settings

danmack/sierpinski-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sierpinski Triangle Generator in Rust

Sierpinski Triangle

A simple program that generates a Sierpinski triangle in rust. The triangle is generated using the chaos method, storage in an image buffer, and then written out to a file named "tri.png" in the current working directory.

cargo run

# linux
xdg-open tri.png

# macos
open tri.png

About

Generate a Sierpinski triangle using rust and output to a PNG file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages