Monday, February 13, 2012

Project 1

In this project I used three functions, fillRect, clearRect, and strokeRect. The fillRect draws the black square which I did 100x100 pixels. The clearRect functions removes a square from the center, so I chose 60x60 pixels. Now the last thing I used was the strokeRect which draws an outline inside the cleared square so I did it 50x50 pixels. To see the outcome of the project click here.

1 comment:

  1. Now *thats* what I'm talking about! Great post. You make specific mention of the functions you use, and then provide a nice illustration of them at work. Way to go!

    ReplyDelete