A Chaoscope Strange Attractor

It’s been a very long time since I posted a fractal, so here’s one I made today with the Chaoscope program. It’s an Unravel attractor, rendered in Light mode at 2,000,000,000 iterations:


Here are the parameters:



Fractals and Kindles

I just can’t help myself. Whenever I get a new gadget, I have to customize it. When my wife and daughters gave me a Kindle four years ago, I was thrilled. It’s a Kindle 3, and it opened to me the amazing world of ebooks. My library now includes collections of G. K. Chesterton, Charles Dickens, Fyodor Dostoyevsky, and Shakespeare. I like the fact that the screen isn’t backlit, so there is no eye strain. It’s a wonderful device that has completely changed the way I purchase and read books.

However, I thought the screensavers that Amazon preloaded on the Kindle were really unattractive, so I tried to replace them with images more to my liking. Easier said than done! I assumed that all I had to do was locate the folder containing the screensaver files and dump my own in there. It turns out Amazon does not want you poking around in there, so that folder is hidden.

Fortunately, after a little research online, I was able to hack into my Kindle and change the screensavers. There are thousands of great images online to choose from (just Google “Kindle screensavers”), and I had a blast exploring them. Then it occurred to me that I could create my own fractal screensavers – all that is necessary is to make sure they are gray-scale images that are 600 by 800 in size.

I decided to use Chaoscope to create my screensavers. (I posted a tutorial on how to use Chaoscope here.) Make sure you render them in either Gas or Liquid mode. My first batch is posted below. They are already correctly sized – just click on a thumbnail to access the full-size image, and then save it to your computer. Enjoy!

Make Your Own Fractals for Fun and Profit!

Well, maybe not for profit, but they are a lot of fun, and it isn’t that difficult to create some beautiful images that will impress your friends.

There are lots of programs that generate fractals, many of which are open source. Fractint is the granddaddy of them all; Apophysis is incredibly powerful but overwhelming in its complexity; Fractal Explorer is very versatile. However, I’m going to focus on just one: Chaoscope, because it’s one of the easiest to use, and beginners can get impressive results. After a few minutes you will be up and running, making beautiful fractal art.

I use it to create desktop wallpapers for my computer, and my students asked where they came from. When I told them that I made them, they begged to learn how. When my students ask me to teach them something, I’m not going to turn them down! Even if you know nothing about the mathematics behind fractals, this can be a really rewarding project for your students. (If you are interested in the math, here are the equations.)

This post is merely a quick introduction to Chaoscope. For a more detailed manual, go here.

Okay, let’s make a fractal!

1. Download the installer file here.

2. After you’ve installed Chaoscope, open it. You will see a very boring blank gray window. Click on “File”, then “New” (or hit Ctrl-N):

File New


3. The “New” window should pop up. There are lots of things you can do in this window. First, choose what type of fractal you want to work on (Chaotic Flow, Julia, IFS, Icon, Lorenz, etc.). For your first attempt, I suggest Chaotic Flow:



In this window, you can also set the dimensions of your fractal. I recommend keeping it relatively small, since the smaller they are, the faster they render. Once you get your fractal exactly the way you like, you can change the size to whatever final dimensions you desire.

4. You can also set the render style in this window. Different styles look, well, different. Gas and Liquid are grayscale, while the others are in color. Solid makes your fractal look like a solid object, and you can also change the background color. I recommend you choose Plasma for this first project.


5. We’re still not seeing any fractal, so let’s have Chaoscope generate one for us. Click the “OK” button in the “New” window. Click on the “Attractor” menu, then choose “Search” (or hit F3):



You should now see a preview window, a “View” window, and an “Attractor” window. You may have something interesting in your preview window, or you may not. If not, just hit F3 until you get a fractal that looks promising. You can click on the fractal and rotate it in any direction. Often, a fractal that initially seems boring can turn into a spectacular one just by changing the viewing perspective. Here are two different views of the same fractal:




6. Try tweaking the sliders in the “Attractor” window. You will see that a very small adjustment can have a huge effect. Hitting Ctrl-R will put a random color gradient in place. Right-clicking on the color gradients in the “View” window accesses different gradient maps.

7. If you prefer fractals with lots of symmetry, play with Icon attractors. Lorenz attractors have the famous “butterfly” pattern. Julia attractors have a knobby, organic look.

8. When your fractal is perfect, save the parameters. Then set the size to the desired width and height in the “View” window. Hit the F4 button to have Chaoscope create a high-quality rendering. When it’s done, go to “File” and choose “Save Image As…” to save a bmp file of your masterpiece.

I run Windows 8.1 on my tablet, which allows me to set up a slide show to display a collection of desktop wallpapers. Simply right-click in an open area of your desktop, choose “Personalize”, and create your own theme.

Congratulations! You are now a fractal artist!

Mr. La Forge, Could You Take a Look at Our Replicator?


If you recognize the reference in this post’s title, then you might be a Star Trek: Next Generation fan! The big news at my school this week has been the unpacking and setting up of two MakerBot Replicator2 3D printers. They’re not quite comparable to the Enterprise’s replicators (they don’t make tea, Earl Grey, hot), but they are still amazing.

The setup process was surprisingly easy (well, it helped that our incredibly talented tech-wizard, Allen Karns, had already figured all the steps!). The MakerBot guided us through every step of the setup, including leveling the printing plate. We’ve already printed out the sample files that come with it, and the response from my students has been terrific – they are already eager to start printing out three-dimensional function plots!

For my initial project, I went to Thingiverse and browsed through the hundreds of files available for download. Of course, I decided to be ambitious, and settled on a Voronoi-patterned Klein Bottle:


We loaded the file into the MakerWare program that comes with the printer, hit “Print”, and it was off and running. The concept behind 3D printing is elegantly simple. Once you have a three-dimensional CAD file of the object you want to create (there are lots of options for this: Sketchup, FreeCad, etc.), you load it into MakerWare. MakerWare “slices” your design into thousands of layers that the printer will use to build up your object. Think of a stack of pancakes that are each 0.2 mm thick, and you get the idea. If you are a little apprehensive about creating your own CAD file, the aforementioned Thingiverse website is a wonderful resource, full of ready-to-use files.

What does the printer use to stack up those layers? Plastic. There is a nozzle that heats up to 230 degrees Celsius, and it runs plastic filament (basically grass trimmer wire) through it, which melts and is deposited layer by layer until your object is done.  Here’s short video of it hard at work:

Unfortunately, I was a little too ambitious with my first attempt, and it wasn’t able to complete the construction of the Klein Bottle:

Printer Fail

But, you learn from your mistakes, and here’s my advice when you are just starting out in 3D printing: pick a project with a wide, stable, base that either rises vertically or tapers inward, like a pyramid. Otherwise you need to instruct the MakerBot to construct supports to hold up the object as it’s being fabricated. Also, I would recommend you pick a fairly solid object to build; you’ll notice that mine is inherently weak due to the large amount of empty space.

Nevertheless, I’ve caught the 3D printing bug, and I’m planning on trying another project first thing tomorrow. Eventually, I plan to incorporate the printer into my calculus course; I envision using it to create real-life models of rotated solids. I’m also hoping to use it to print out actual models of fractals I’ve made using Chaoscope, like this one:


The ability to translate fractals from a 2D computer screen to a 3D object is a dream come true!

Update: I downloaded a much simpler object file to print, and it worked beautifully:

Rotated Shape

I’ve also learned that the printing plate needs to be leveled every time you print a project.

Next step: design my own object from scratch, and print it out!