2 using System.Collections;
12 eqnStrings =
new string[]{
21 new Vector3(.1f, 1.5f, .1f),
new Vector3(10.4f,3.6f,0.4f), 0.31f),
23 new Vector3(.1f, 1.5f, .1f)),
34 public override void Function(ref
float[] x_in, ref
float[] x_out) {
35 x_out[0] = - 2f*x_in[1];
36 x_out[1] = x_in[0]+ x_in[2]*x_in[2];
37 x_out[2] = 1.0f + x_in[1] - 2f*x_in[2];
Chaotic system. Base class for chaotic scripts. Holds the type of system selected, the parameter set or the custom parameters to be used.
Chaos eqn. Base class for all equations that define a 3D chaotic system.
override void SetParams(ParamBundle pb)
Sets the parameter bunlde to be used by the system.
Parameter bundle. Container class to hold the values for starting a chaotic system. Holds the parameters for the equations and the initial position and scale values.
override void Function(ref float[] x_in, ref float[] x_out)
Evaluate the first order evolution of the attractor, given the current position.