Wednesday, 28 May 2008

MAX MSP Tracking....

The MAX MSP tracking is now working due to a little help from out resident genius... ;-)

This first picture shows the code as a whole, it demonstrates how many different windows are required to get this working and shows some of the logic between how our ideas are working...




Here shows a more detailed view of the piece of code that controls each car, the three boxes that run across the top keep the positions of each car and then as this moves down into the larger box it shows whether the cars have collided and then there is an opportunity to put an "if" statement were they to collide. There is also the positions of the trails for each car within this piece of code.



This final picture just shows the tracking working in practice, two red leds are being used and the code creates a box relative to the positions of the LED's and the area between them, if there were two red LED's and two green you would have two of these boxes, one for each colour.


No comments: