I've got a video input stream. I approximated this video stream and saved the average colour values for each area in a matrix. Based on this matrix I'd like to draw and simply animate some objects, but I don't know how.
First of all: which functions are useful for drawing? Should I use the graphic window and the oval//ring/rect/frame objects? Or is this normally done with jit.gl... (OpenGL)? I found those two options yet, but I'm not sure what to use.
Furthermore I didn't find an example/a tutorial, which would teach me how to read values out of a matrix and use them for drawing simple 2d-objects in the next step. Can somebody please give me an advice how that works, where to find information about this or what I should search for?
Thanks in advance,