Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
(Doh! Another correction, this time of English: "diamonds," not "triagles" -- could this be why I don't do so well at poker?) Hiran, Hiran, Hiran. I was only kidding! That's why there was the ;-) at the end (maybe I was supposed to use :-p, or something?). Of course most any sensible instructor would have a hearty chuckle before scibbling a big D- on that little homework assignment. I actually wrote this method some time ago when I was first learning Java and saw this same homework assignment posted here (I didn't post it for ethical reasons, but I'll shuck my ethical standards for the moment):
I had mentioned earlier to Chin the idea of doing variations of this assigment (for fun, learning and practice at the time) that yield different grades (for instance the earlier tongue-in-cheek post would be F or D- range and the one above would be B+ or so). I did a couple (as above) and was thinking of using the Java 3D API for the A+ version (a 3D configuration of sparkling, translucent, spinning 3D stars with pulsating colors!), but haven't gotten to that, yet... By the way, even this simple method (above) can yield some cool patterns if you run it with big numbers (2 or 3 times the width of your display). Another interesting point, related to another recent thread where Replies:
|
Sponsored Links
|