Wednesday, October 7, 2009

Week 2 Day 3

Today we were tasked with creating an application that would mark an "X" over the spot of the laser used in lightdraw, and modifying the application that I did yesterday, I have managed to create the "X" mark over the laser spot

While moving the algorithm to the actual lightdraw application, I manage to see and play with the source code of LightDraw. The entire code for Lightdraw was quite complex, and fortunately thanks to Ming Hong's help in explaining about some parts of the code, I was able to understand and thus discover about some syntax that I have never seen before.

After some trials, the algorithm worked, however it only manage to show only one cross (for only 1 laser pointer) now. Besides, the cross also would not disappear even after the laser pointer is no longer shining on the surface. Ming Hong guide us about this, and we would need to make use of the "alive" messages in order to solve this.

Overall, today have been an exciting day working with codes and laser pointers, and learning more into how LightDraw was developed

No comments:

Post a Comment