Author Archive

Exhibition Preparation

Sunday, November 25th, 2007

Jack has already paid the fee for the whole group for the exhibition. He also talked to Tim and we got the projector stand. We tried to get to the exhibition space but it was closed so I am going to try to get the computers, projectors, etc there tomorrow (Monday). Anyone interested in coming?

Spill Code

Friday, November 16th, 2007

I have a small scale spill code that is easily modifiable.

The transparent black circle is the coffee cup and the red stuff is the spill. Click on the red stuff, hold the mousebutton, to simulate the creature drinking from the pool. Release the mouse button to let it restore.

Change “spilllines” boolean to true, it shows what the coordinates for curveVertex is based on. The coodinates are basically random distances at random angles from the center (the spot where the lines meet) The ‘coffee cup’ is set a little off the centre so that when the spill shrinks it will won’t go away from the cup. The variables that starts the spill class is spillname=new spill(centerX,centerY,RotateSpillAngle, AverageSpillSize)

Oh yeah, and it detects if the cursor is in the spill by the colour of the pixel. 

Spill