Closed dkavanagh closed 11 years ago
Cool stuff. Thanks!
Thanks. I was thinking of building a look-up table to remove the calculations for each "setPixelColor" call with x.y coords. I'm also porting "game of life". I'll at least submit the performance improvement. Can do the game of life as a sample code if you like.
I added minimal code in the library, and a test (gridtest) to demonstrate usage. This code (per comments in the code) is made to address a strand of lights that has been snaked back and forth, row by row, into a grid configuration.
video here: http://youtu.be/BhrotFT-6Gc