Jump to content

Mandelbrot set: Difference between revisions

(Typo ganked entry below: fixed)
Line 2,584:
 
=== Alternate version, applicable to text and GUI ===
====''' Basic generation code ===='''
 
==== Basic generation code ====
<lang fsharp>
let getMandelbrotValues width height maxIter ((xMin,xMax),(yMin,yMax)) =
Line 2,601 ⟶ 2,600:
</lang>
 
====''' Text generationdisplay ===='''
<lang fsharp>
getMandelbrotValues 80 25 50 ((-2.0,1.0),(-1.0,1.0))
Line 2,638 ⟶ 2,637:
</pre>
 
''' Graphics display '''
==== GUI Generation ====
<lang fsharp>
open System.Drawing
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.