Arduino Light Painting - convert .pngs to data files

edited December 2013 in BlinkyTape Fun
I was wondering how to convert .pngs to the the animation data files?

I found the lightPaintingProcessor in the Processing sketchbook but can't get it to work.

I am trying to create paintings similar to the NyanCat example.



  • The Pattern Paint app will accept jpeg files and push them to the blinky tape
  • thx @philspitler, i know that, but i want to load the patterns into the Arduino sketch so I can use the button to toggle between animations
  • Hi Amar, that's one of the next features that's going into PatternPaint- a function to export a .h file that you can use in Arduino. There is a version of it in the Processing version of PatternPaint, too, but I think that one is out of date.
  • Just uploaded a new version of PatternPaint that adds this feature:

    Go to File->Export animation for Arduino, and it should save a .h file containing your animation. The Arduino library was also updated to have a matching sketch (PatternPlayer), which should have the same features as the version embedded in PatternPaint. Give it a shot and let me know how it works for you!
Sign In or Register to comment.