Jump to content

LED window display: Difference between revisions

From Baltimore Node Wiki
Line 8: Line 8:


== nCode ==
== nCode ==
This is intended to be a common format that is read by the computer connected to the LED driver. The syntax is based on JSON. The pixels in the frames represent Red, Green, Blue, and Alpha values.  
This is intended to be a common format that is read by the computer connected to the LED driver. The syntax is based on JSON. The pixels in the frames represent Red, Green, Blue, and Alpha values. It is assumed that 0,0 is in the upper left corner of the display.





Revision as of 16:51, 4 March 2011

Collecting notes for the LED window display.

Anyone have ideas for a better project name???


System Architecture

nCode

This is intended to be a common format that is read by the computer connected to the LED driver. The syntax is based on JSON. The pixels in the frames represent Red, Green, Blue, and Alpha values. It is assumed that 0,0 is in the upper left corner of the display.


   {
       width: 3,
       height: 3,
       loop: true,
       framerate: 10,
       meta: {
           title: "",
           creator: "",
           description: ""
       },
       frames: [
           [
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255]
           ],
           [
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255]
           ],
           [
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255], 
               [255,255,255,255], [255,255,255,255], [255,255,255,255]
           ]
       ]
   }