
I'm taking a beginning Java programming class online. Two lessons are released each week, and you can work at your own pace as long as you get the assignments and quizzes done within two weeks of when they are first made available.
It's pretty easy so far, and I don't expect it to get to the point of being challenging. I have been able to work through each lesson and finish the assignments in less than a half hour.
Friday's lesson was on drawing. Using the paint method, you can draw primitive shapes, so I learned how to draw circles, ovals, and arcs. In previous lessons, I'd learned how to set the color, so I was all prepared for the assignment at the end of the lesson: draw a smiley face.
The lesson warned that this make take some time, so gave helpful tips about drawing the happy face out on graph paper first so that it was easier to figure out the coordinates for each instance of an object.
I, of course, skipped the pencil-and-paper crap and went right to hacking away at it.
You can probably guess that this provided some hilarious results, which I have provided for you in a handy
PDF format. The first couple of faces I rendered made me laugh out loud, just because they were so far off of what I was expecting.
In my abundant free time, I also took the liberty of creating a little animation. Enjoy!
Apr.10.06 at 11:50 AM