Sunday, July 8, 2007

V4.0 - LED Matrix Code Driven Animation

I'm pretty happy with myself for this one. I've been reading the recently published book on Processing. I'm glad too, because the Arduino environment is based on the Processing language and this has given me enough understanding to patch together the useful pieces of code I found earlier.

There was an early example in the Processing book of a bouncing ball within a little rectangle on screen. I thought I might be able to adapt that code to work in the matrix. It didn't need much adjusting, and was much simpler as I didn't need to "draw" a rectangle or an ellipse. So, check out the bouncing:














Arduino Code:
Bouncing Ball

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home