Reply To: Creating images using LUA

Home Forums General Programming Creating images using LUA Reply To: Creating images using LUA

#120273
dnaldoog
Participant
  • Topics: 4
  • Replies: 480
  • Total: 484
  • ★★

Hi Puppeteer

Can you explain this in more detail? Give an example of the sysex?

They are returned as each pixel being the last 6 pixels of each byte. It’s essentially a 1 bit (black/white) bitmap.

I think the idea is to take a 64 x 240 multidimensional array and map each 1 to a black pixel and each 0 to a white pixel? Is that about right.

You would use a uiComponent and place a 1 x 1 black png or g:fillRect() ?? in each ‘on’ state – See attached panel for the basic idea.

pixmap.png

  • This reply was modified 1 year, 7 months ago by dnaldoog.
  • This reply was modified 1 year, 7 months ago by dnaldoog. Reason: added download
  • This reply was modified 1 year, 7 months ago by dnaldoog.
Attachments:
You must be logged in to view attached files.
Ctrlr