Tinkerbell map

Tinkerbell attractor with a=0.9, b=-0.6013, c=2, d=0.5. Used starting values of and .

The Tinkerbell map is a discrete-time dynamical system given by:

Some commonly used values of a, b, c, and d are

Like all chaotic maps, the Tinkerbell Map has also been shown to have periods; after a certain number of mapping iterations any given point shown in the map to the right will find itself once again at its starting location.

The origin of the name is uncertain; however, the graphical picture of the system (as shown to the right) shows a similarity to the movement of Tinker Bell over Cinderella Castle, as shown at the beginning of all films produced by Disney.

Source code

The Java source code that was used to generate the Tinkerbell Map displayed above:

import java.io.*;

public class TinkerBellMap {
  public static void main(String[] args) throws Exception {
    FileWriter fstream = new FileWriter("TinkerBellMapOutput.txt");
    BufferedWriter out = new BufferedWriter(fstream);
    int time = 0, iterations = 50000;
    double x = -0.72, y = -0.64;
    double a = 0.9, b = -0.6013, c = 2.0, d = 0.5;
    while (time < iterations) {
      double oldX = x;
      x = Math.pow(x,2)-Math.pow(y,2)+a*x+b*y;
      y = 2*oldX*y+c*oldX+d*y;
      out.write(x+" "+y+"\n"); //writing data to a txt file to be read by Mathematica
      time++;
    }
  }
}

See also

References


This article is issued from Wikipedia - version of the 10/8/2013. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.