attractor-patches.zip
-- class patches for the Logistic map (population equation),
the Lorenz attractor and the Henon map. Audio 'sonification' is
added in the last one(s) of each series.
The basic equation for the Logistic map is:
When R is < 3.0, the iteration of this equation leads to
a single value. When R reaches 3.0, the equation starts
randomly oscillating between 2 values ("period doubling"), and as
R goes larger than 3.0 it begins to enter true chaotic
areas. What fun! The code for the iteration of this equation
is imbedded in the [rtcmix~] objects in the patches.
The equations for the Lorenz attractors are:
dx/dt = a(y-x)
dy/dt = bx - y - zx
dz/dt = xy -cz
We used values of a = 10.0, b = 28.0 and c = 8.0/3.0.
We also 'moved' this set of differential equations along by adding a
"delta" value each time. That value was set to 0.01. The equations
(also imbedded in the [rtcmix~] objects in the patches) with
the delta value were coded as follows:
delta = 0.01
dx = 10.0 * (y-x)
dy = x * (28.0-z) - y
dz = x*y - (8.0/3.0)*z
xnew = x + delta*dx
ynew = y + delta*dy
znew = z + delta*dz
x = xnew
y = ynew
z = znew