Computer Graphics Assignment 3
well here it is ... random cubes logo... maybe not quite what you expected
first we have the logo... sitting nice and stationary... like a logo should
then on user input it starts moving and spinning in a wondeful dance.. its
sub cubes exploding as they hit the edges.. If you're gentle with it you can
keep it going for some time... and then restart it... try to interact with it
control it... stop it from hitting a wall... Maddly spin it so that it's gone
within seconds.. and then what... random ... recreations of the same cube...
again and again ... smashing against the walls.. once again you can control them
until well.. until eternity.... well not quite.. unfortunately Java's garbage
collection ain't quite there yet... so eventually we will run out of memory..
sorry... I've tried to optimise it is far as possible against memory leaks..
however I did not feel I had the time to rework Point3d.java which is now the
only source of such problems...
Please wait until the image has actually loaded otherwise you end up with
interesting scribbles.. sorry I should have used Media Tracker here.. however
didn't get the time to implement all that...
some cool sizes to try it with... 600 widht 600 height windowsize value 5.5
not ideal for a home page but you can really see the depth in the background
this way... I've set the default windowsize to 5.5 but maybe larger would be
nice too... although the logo gets a bit too small then... Even 200 width
200 height can be interesting...
once again be gentle with him please otherwise you miss out on all the fun..
I suggest only dragging the mouse within the cube face area..
appletviewer http://www.cse.unsw.edu.au/~cs3421/assignments/a3/index.html