Fractals

From GenerativeArt

(Difference between revisions)
Jump to: navigation, search
* In chaotic systems a phase diagram will exhibit fractal behavior about a strange attractor. (To be covered later).
* In chaotic systems a phase diagram will exhibit fractal behavior about a strange attractor. (To be covered later).
-
Fractals can be defined and generated by recursive functions.
+
Fractals can be defined and generated by recursive functions. For example, take the factorial function:
-
Example: Factorial Function
+
<math>\sqrt{2}</math>
-
====='''Non-recursive'''=====
+
 
 +
====='''Non-recursive factorial function'''=====
   '''function''' FACT(m)
   '''function''' FACT(m)
       total = 1
       total = 1
       '''return''' total
       '''return''' total
-
====='''Recursive'''=====
+
====='''Recursive factorial function'''=====
   '''function''' FACT(m)
   '''function''' FACT(m)
       '''if''' m > 1
       '''if''' m > 1

Revision as of 18:35, 10 November 2008

Personal tools