Fractal Generator

Do computers dream of electric sheep?

I’ve always been pretty mystified with fractals, and at the point that I’d become comfortable with programming, I began creating my own.  A few weeks ago, I stumbled on one of my older hobby projects that renders the Mandelbrot fractal.  Of course, I couldn’t help but run it and be appalled at my immature coding practices.  Nonetheless, it ran and I was immediately hit with a truck load of ideas for making it better.  A few weekends later, I’m ready to show it off.

MandelbrotScreenshot

Instructions

  • Zoom in/out with the left and right mouse buttons.  Re-center with the center mouse button.
  • Change the colorization by modifying the list of colors in the bottom right corner.
  • Change the way colors flow into each other by changing the normalization method.
  • Increase detail at higher zooms by increasing the Max Iterations (increases render time)
  • Smooth out grainy details by increasing the Smoothing Factor (max 3 suggested) (greatly increases render time)

Note: When you launch the applet, you will be asked a couple security questions:

  1. “Java(TM) needs your permission to run.” — This is your browser asking you if you want to allow Java to run.
  2. “The application’s digital signature cannot be verified.  Do you want to run the application” — This is Java asking if you want to trust the source of the application and run it.  The publisher is listed as “UNKNOWN” because I self-signed the .jar file.  The signature is required so that you can save images to your computer from the application. If you deny access to the application and later decide you want to allow it, you will have to restart the browser and clear java’s cache.  Click here for instructions on how to do this.

Click this button to launch the app:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>