Fractal invaders due October 30, 2017

Description

For this assignment, I immediately knew I wanted to re-make the fractal invaders, a project by Jared Tarbell. Casey Reas in his talk at Eyeo in 2012 (one of our assignments), discussed Tarbell’s project and showed the audience how our eyes and minds associate symmetrical images with familiar objects (example shown below), when a non-symmetrical image reminds us of simply a blob. Suddenly we see a dress, a smiley, a house, etc.

So I created my own set of many fractal invaders, shown in the second image below, with some elements of red, to make them even more unique. I think this would be a lovely thing to print out because there is a 0% chance of printing out the same set of fractal invaders in the same order again any time soon.

Code

 

How I got there

I started off by drawing it on the paper to figure out how to make it and decided to use a class at first (the initial code for a singular invader below) and then translate it later on. When the class was made, I initially wrote the code for 15 squares (out of which 10 would be translated to the opposite side), and it worked. I could not decide how to make a symmetrical opposite side without using width of the picture and how to make it into a universal code without manually writing functions for each of the squares (I had issues with locating each square properly), so I gave up and decided to start all over again after fall break.

When I returned with a fresh mind to Abu Dhabi, I looked at the initial code again and realized that it would be much easier to just use a for loop, instead of a class.

I like that the fractals are of the same size (unlike the original work, where he uses an algorithm that fills up the space). I also added red color to the invaders because it makes each invader even more unique. 

Thanks to Russell’s code, I learnt how to use a boolean to run the program only once.

 

Leave a Reply

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