home *** CD-ROM | disk | FTP | other *** search
- ;Iterate! formula file
- ;by Brent Hugh
- ;parameter and window defaults
- a=1
- b=.5
- c=1
- d=.5
- mu=0
- xmin=-10
- xmax=10
- ymin=-10
- ymax=10
-
- ;randomwalk function
- x=x + a*rn - b
- y=y + c*rn - d
-
- ;compare to Function A with parameters a=b=6 c=d=1
- ;Function A is completely deterministic and this function is random--
- ;yet both functions look the same!
- ;(Actually, random number generators on computers are done with iterated
- ;functions, too, but let's not get into that.)
-