Optimization Process

Words Symbols

Attractors

math programming favorites simulation symbols

You might expect that you get a kinda random smear of points. And you'd be right that it's kinda random, but...

Notice the fractal self-similarity in that one!
Notice the faint macroscopic grid pattern in that one; that seems to be very sensitive to initial conditions. Sometimes it's imperceptible, other times it's really in-your-face.

It takes a bit of care to find an interesting pair of functions: most simple pairs of functions tend to produce very uninteresting attractor-patterns, because there's a point, or a small set of discrete points, that are invariant under both functions, and so you very quickly end up trapped in that set. Like...

I forget where I learned about this feature of our universe. It was one of my first programming projects outside of Warcraft III's map-making engine.


source code