Fun with Fractals

Mandelbrot Set

Shortly after starting grad school at Cornell, I ran across a book on fractals and chaos and decided that I would write a program to compute the Mandelbrot set. I wrote a few different versions in Matlab, which I used to generate the plots below (using GIMP to add color). I later wrote an interactive version in Java, to make it easier to change the view of the fractal.

Driven Damped Pendulum

Another neat fractal is the driven-damped pendulum. This one is neat because it corresponds to a physical system: a swinging pendulum (with some damping) that is connected to a motor (generating a time-periodic torque). Given any initial state, the pendulum will eventually reach some basin of attraction and stay there. In other words, when the pendulum starts, it can flip over the top, but eventually it loses so much energy that it can only sway back and forth. The neat thing is that two initial states that start nearby do not necessarily (or even usually) end up in the same potential well. One might flip over the top three times, while the state right next to it will flip nine times. This plot shows the set of all initial states the converge to the same potential well.

High-Res Images:

I have a few more high-resolution images of the fractals in a folder on Dropbox:

High-Resolution Fractal Images


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s