Tuesday, March 19, 2013

Wiki Project Part III

About to start on my Wiki Project due this Friday. Based on the handout,i should be taking the comments from Part 2 and incorporate it into the Part 3 project, but it's not out yet.

So I go ahead without waiting?

Recursion

Today in class, we learned about recursion. At first, I was confused as to how to approach the coding. But doing it together with the class really helped and I was able to do some parts of the questions by myself.

However, I still have a problem describing the coding in picture.
For example:
In the recursion handout given out in class, the following expression is shown:

; s : number -> image
(define (s d)
    (cond
       [(> d 0)
         (beside/align "bottom"
                              (line 0 (+ 5 (* 2 d)) "red")
                              (rotate 90 (s (- d 1 ))))]
        [else (line 0 5 "red")]))

So I don't understand how (s 2) looks like
I had a different interpretation of (s 2). I thought it would look like steps....

Saturday, March 2, 2013

Assignments and Projects


Submitted my Wikipedia Part II assignment and I thought this web comics from XKCD would be appropriate to start the entry. Of course, there is nothing to worry because  I will not be doing that in my Part III assignment.

Going through the recent material and everything is okay. Curious as to why opacity is referred to as 'alpha'?

Starting my project with my team member, hope it goes well. A bit intimidating since I am applying my knowledge from what I have learned in computer science into this project assignment