Orbits of the Hopalong Map

This Demonstration plots a number of orbits of the two-dimensional iterative map known as the Hopalong map. The Hopalong map can be represented by the recursion equations: , , with and ranging over the reals and equal to either 0 or +1.
Different orbits are generated using different initial points defined by the "" locators. Initially, 25 orbits are plotted. You can drag the initial points or add or delete new ones (Alt+Click on Windows, Command+Click on Macintosh) inside the plot. Alternatively, up to 50 random initial points can be launched.
The map parameters , , and can be varied manually or a random set can be used. Use the "range" slider as a magnifier to see more detail inside some orbits. Check "full range" to see all points from all orbits.
The Hopalong map is effectively a simplified version of Martin's map (see the Demonstration "Orbits of Martin's Map"): {, }. By dividing both sides of the equations by , as suggested by Barry Martin, we obtain: , with either 0 or +1. This way, only two parameters are needed and we can divide all possible orbits into two classes with either 0 or 1.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The Martin map equations were taken from [1] and [2].
The simplified, two-parameter equations for the map were suggested to the author by Barry Martin.
The Martin map is also called the "Hopalong-Attractor".
See also the German website: Huepfer.
[1] M. Trott, The Mathematica GuideBook for Programming, New York: Springer–Verlag, 2004 pp. 347–349.
[2] B. Martin, "Graphic Potential of Recursive Functions," in Computers in Art, Design and Animation (J. Landsdown and R. A. Earnshaw, eds.), New York: Springer–Verlag, 1989 pp. 109–129.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+