mirror of
https://github.com/Noratrieb/mandelbrot-rust.git
synced 2026-01-16 00:05:04 +01:00
initial commit
This commit is contained in:
parent
7577fc6041
commit
764d2ff644
3 changed files with 308 additions and 25 deletions
|
|
@ -1,3 +1,10 @@
|
|||
use mandelbrot_set::Config;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let config = Config::new(1, 3, 100, 100.0);
|
||||
|
||||
match mandelbrot_set::main(config) {
|
||||
Ok(s) => println!("{}", s),
|
||||
Err(e) => println!("Error: {}", e)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue