My Sunday afternoon project wasn’t something that I could just let lie and it didn’t take long for work to start on it again. Using the list of improvements I had identified, I began with the aesthetics and then moved on to other, more number intensive areas of research.
Before even touching the code I subsumed everything into a Git repository; I’m a long time Subversion user but relatively new to Git so I still regularly refer back to the “Git – SVN Crash Course” which is pleasantly concise. With this done, I attacked the GIF output method first:
“cooked up in a few hours and wasn’t subject to any stringent mathematical basis”
First was visibly increasing the size of the cells, I had originally used a multiplier of four for previous iterations but that made them very indistinct, and with only fifty generations it meant a large portion of the space wasn’t used. The result was an increase in cell size to seven with a one pixel border: this was the result of a happy accident while crafting the previous post and resulted in the introductory images, however the calculations for the edge cells was incorrect which is why those animations don’t appear to “loop” at the edges as they should. This implementation fixed that and with a vastly smaller environment (only 8×8 with a 5×5 seed), each generation of cells and their progression is easier to see. Next was addressing the colour issue, generating both a background and foreground colour met with mixed results so taking a leaf from WP_Identicon’s book, I kept the background colour constant and generated the foreground colour only: Read the rest of this entry