
Weeks 2 + 3
Throughout week 2 of the class, I generated ideas for future projects but did not program anything in postscript. However, I did draw out some hitomezashi patterns by hand and experimented with what kinds of binary strings produced which kinds of patterns.
On Monday, I experimented with some fractals! I wanted to create a version of the square example fractal but with triangles. This took some fiddling...
But eventually I figured it out! And I experimented with adding fills instead of lines, and then making those fills gradients of gray.







And of course I had to animate it! I did this using a for loop that contained the call for drawing a triangle fractal, but I altered the starting depth to go from maxdepth to 1 so that it would draw a fractal at depth 1, then 2, then 3, .... , then maxdepth.I exported to a pdf and used ezgif to make it move.




Next I made some circle fractals! It took a bit of trial and error, but it looked cool on the way. I also played with having colors that stepped through a series of values rather than following a gradient based on some changing value in a loop. I did this using some predefined color variables and modular arithmetic.










Once again, my code can be downloaded by clicking the button below!