Match parameters to FOP Hausübung for Julia
This commit is contained in:
parent
cf519dbb9a
commit
4df08e7665
2 changed files with 16 additions and 16 deletions
32
Program.fs
32
Program.fs
|
|
@ -1,16 +1,16 @@
|
|||
// Learn more about F# at http://fsharp.org
|
||||
|
||||
open System
|
||||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
printfn "Mandelbrot!"
|
||||
|
||||
let resultMandelbrot = MandelBrot.generate 800 600 150.0 32 570
|
||||
resultMandelbrot.Save("mandelbrot.bmp")
|
||||
|
||||
printfn "Julia!"
|
||||
let resultJulia = Julia.generate 800 600 150.0 32 570
|
||||
resultJulia.Save("julia.bmp")
|
||||
|
||||
0 // return an integer exit code
|
||||
// Learn more about F# at http://fsharp.org
|
||||
|
||||
open System
|
||||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
printfn "Mandelbrot!"
|
||||
|
||||
let resultMandelbrot = MandelBrot.generate 800 600 150.0 32 570
|
||||
resultMandelbrot.Save("mandelbrot.bmp")
|
||||
|
||||
printfn "Julia!"
|
||||
let resultJulia = Julia.generate 800 600 250.0 2 250
|
||||
resultJulia.Save("julia.bmp")
|
||||
|
||||
0 // return an integer exit code
|
||||
|
|
|
|||
BIN
julia.bmp
BIN
julia.bmp
Binary file not shown.
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 224 KiB |
Loading…
Add table
Add a link
Reference in a new issue