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).

No comments:
Post a Comment