Saturday, November 30, 2013

Project 2

Project 2 is definitely much more complicated and rigorous compared to the first project. I really shouldn't have left this until the last minute; however, I had 2 midterms this week so I neglected this project until Friday afternoon.

Most of my friends in this class commented that fractal was harder than fx so right after my midterm, I started to work on fx. Although the first two parts of fx was relatively straight forward, I was stuck on the third part as didn't know how to write the conditions to recognize "key inputs". Once I figured that out, I wasn't sure on how the individual rgb boolean was suppose to react to an input. It took me 2 hours, 5 versions of the code in order for the program to run smoothly. I used the site docs.racket-lang.org to look up various definitions that I needed.

Fractal on the other hand was similar to the recursion exercises we did in class, the twist was that we had to write recursion on a struct instead of a single value. Having already figured out how to write string conditions, the rest of the project was relatively straight forward.

I really enjoy working on these projects as the entire point of learning about computer coding is to create software. Its always fun to receive some buggy code, and then have to understand what the code does and debug the program.


No comments:

Post a Comment