Thursday, 5 December 2013

Assignment II (Part II)

The second file was fractal.rkt was even better! In this case the purpose was to increase, decrease the size and complexity of an image depending on the arrow key you decided to press. In my opinion the most difficult thing to fix was the conditions as well as matching up all those parenthesis/brackets! Anyways, once you pressed RUN you were able to see a small pop-up window with a small circle blue outline circle.
Once you pressed the "up", "down", "left" or "right" arrow key the the radius of the circle increased or decreased and well as the complexity. By complexity I mean that, depending on how many time you pressed a specific arrow key you added even more "circles" to the original circle (Figure 2).
The actual output is in the center of this image ( second row, second image from left to right). The other images are just  clones of that one. I felt like making this cool image with the help of these beetled-faced circles. Enjoy.. 

No comments:

Post a Comment